From 39b72dcf5d62701909677428756eb0c36428a8cd Mon Sep 17 00:00:00 2001 From: tibbi Date: Wed, 11 Jan 2023 10:55:44 +0100 Subject: [PATCH] hide Google Play icon --- app/build.gradle | 2 +- .../simplemobiletools/clock/activities/MainActivity.kt | 2 +- .../clock/activities/SettingsActivity.kt | 2 +- app/src/main/res/menu/menu.xml | 9 ++++----- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 8774ab96..82442282 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -64,7 +64,7 @@ android { } dependencies { - implementation 'com.github.SimpleMobileTools:Simple-Commons:0eb2785498' + implementation 'com.github.SimpleMobileTools:Simple-Commons:185891674f' 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/kotlin/com/simplemobiletools/clock/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/clock/activities/MainActivity.kt index 18ce7198..871c8ae1 100644 --- a/app/src/main/kotlin/com/simplemobiletools/clock/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/clock/activities/MainActivity.kt @@ -37,7 +37,7 @@ class MainActivity : SimpleActivity() { setupOptionsMenu() refreshMenuItems() - updateMaterialActivityViews(main_coordinator, main_holder) + updateMaterialActivityViews(main_coordinator, main_holder, useTransparentNavigation = false, useTopSearchMenu = false) storeStateVariables() initFragments() diff --git a/app/src/main/kotlin/com/simplemobiletools/clock/activities/SettingsActivity.kt b/app/src/main/kotlin/com/simplemobiletools/clock/activities/SettingsActivity.kt index 074d37a2..811a58c4 100644 --- a/app/src/main/kotlin/com/simplemobiletools/clock/activities/SettingsActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/clock/activities/SettingsActivity.kt @@ -21,7 +21,7 @@ class SettingsActivity : SimpleActivity() { super.onCreate(savedInstanceState) setContentView(R.layout.activity_settings) - updateMaterialActivityViews(settings_coordinator, settings_holder) + updateMaterialActivityViews(settings_coordinator, settings_holder, useTransparentNavigation = true, useTopSearchMenu = false) setupMaterialScrollListener(settings_nested_scrollview, settings_toolbar) } diff --git a/app/src/main/res/menu/menu.xml b/app/src/main/res/menu/menu.xml index f93bfa1c..35562f58 100644 --- a/app/src/main/res/menu/menu.xml +++ b/app/src/main/res/menu/menu.xml @@ -6,11 +6,6 @@ android:icon="@drawable/ic_sort_vector" android:title="@string/sort_by" app:showAsAction="always" /> - +