diff --git a/app/build.gradle b/app/build.gradle index dff1b707..2f84a62f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -64,7 +64,7 @@ android { } dependencies { - implementation 'com.github.SimpleMobileTools:Simple-Commons:a1ecb048c0' + implementation 'com.github.SimpleMobileTools:Simple-Commons:7f288cc10b' implementation 'com.facebook.stetho:stetho:1.5.1' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' implementation 'com.shawnlin:number-picker:2.4.6' diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 62491ee1..821d395c 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -46,18 +46,21 @@ @@ -70,24 +73,28 @@ @@ -97,6 +104,7 @@ diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 96b3ea64..47f26d57 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -5,27 +5,19 @@ android:layout_width="match_parent" android:layout_height="match_parent"> - - - - - + android:layout_height="?attr/actionBarSize" + android:background="@color/color_primary" + app:menu="@menu/menu" + app:titleTextAppearance="@style/AppTheme.ActionBar.TitleTextStyle" /> + android:layout_marginTop="?attr/actionBarSize"> + app:showAsAction="always" /> diff --git a/app/src/main/res/menu/cab_timezones.xml b/app/src/main/res/menu/cab_timezones.xml index abf9dbfa..9e2f2147 100644 --- a/app/src/main/res/menu/cab_timezones.xml +++ b/app/src/main/res/menu/cab_timezones.xml @@ -5,5 +5,5 @@ android:id="@+id/cab_delete" android:icon="@drawable/ic_delete_vector" android:title="@string/delete" - app:showAsAction="ifRoom" /> + app:showAsAction="always" /> diff --git a/app/src/main/res/menu/menu.xml b/app/src/main/res/menu/menu.xml index 272f9b2f..f93bfa1c 100644 --- a/app/src/main/res/menu/menu.xml +++ b/app/src/main/res/menu/menu.xml @@ -5,19 +5,20 @@ android:id="@+id/sort" android:icon="@drawable/ic_sort_vector" android:title="@string/sort_by" - app:showAsAction="ifRoom" /> + app:showAsAction="always" /> + app:showAsAction="always" /> + app:showAsAction="always" /> + app:showAsAction="always" />