move More Apps From Us to lower priority

This commit is contained in:
tibbi 2023-01-10 23:01:57 +01:00
parent 4af0dafe06
commit f123e35844
4 changed files with 8 additions and 8 deletions

View File

@ -61,5 +61,5 @@ android {
} }
dependencies { dependencies {
implementation 'com.github.SimpleMobileTools:Simple-Commons:7e489f7121' implementation 'com.github.SimpleMobileTools:Simple-Commons:d7ae440d63'
} }

View File

@ -19,7 +19,7 @@ class MainActivity : SimpleActivity() {
refreshMenuItems() refreshMenuItems()
setupOptionsMenu() setupOptionsMenu()
checkWhatsNewDialog() checkWhatsNewDialog()
updateMaterialActivityViews(main_coordinator, activity_main, true) updateMaterialActivityViews(main_coordinator, activity_main, useTransparentNavigation = true, useTopSearchMenu = false)
} }
override fun onResume() { override fun onResume() {

View File

@ -18,7 +18,7 @@ class SettingsActivity : SimpleActivity() {
super.onCreate(savedInstanceState) super.onCreate(savedInstanceState)
setContentView(R.layout.activity_settings) setContentView(R.layout.activity_settings)
updateMaterialActivityViews(settings_coordinator, settings_holder, true) updateMaterialActivityViews(settings_coordinator, settings_holder, useTransparentNavigation = true, useTopSearchMenu = false)
setupMaterialScrollListener(settings_nested_scrollview, settings_toolbar) setupMaterialScrollListener(settings_nested_scrollview, settings_toolbar)
} }

View File

@ -1,11 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android" <menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"> xmlns:app="http://schemas.android.com/apk/res-auto">
<item
android:id="@+id/more_apps_from_us"
android:icon="@drawable/ic_google_play_vector"
android:title="@string/more_apps_from_us"
app:showAsAction="always" />
<item <item
android:id="@+id/settings" android:id="@+id/settings"
android:icon="@drawable/ic_settings_cog_vector" android:icon="@drawable/ic_settings_cog_vector"
@ -16,4 +11,9 @@
android:icon="@drawable/ic_info_vector" android:icon="@drawable/ic_info_vector"
android:title="@string/about" android:title="@string/about"
app:showAsAction="always" /> app:showAsAction="always" />
<item
android:id="@+id/more_apps_from_us"
android:icon="@drawable/ic_google_play_vector"
android:title="@string/more_apps_from_us"
app:showAsAction="ifRoom" />
</menu> </menu>