From 529f018350e0f32e18319dc9c2e75a8a91b063c7 Mon Sep 17 00:00:00 2001 From: oliexdev Date: Sat, 29 Jul 2023 12:08:10 +0200 Subject: [PATCH] set transparent color for active indicator on navigation bar. --- android_app/app/build.gradle | 6 +++--- android_app/app/src/main/res/layout/activity_main.xml | 1 + android_app/app/src/main/res/values-night/themes.xml | 4 ++++ android_app/app/src/main/res/values/themes.xml | 4 ++++ 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/android_app/app/build.gradle b/android_app/app/build.gradle index deff5702..f4737877 100644 --- a/android_app/app/build.gradle +++ b/android_app/app/build.gradle @@ -143,9 +143,9 @@ dependencies { implementation 'com.google.android.material:material:1.11.0-alpha01' implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation 'androidx.appcompat:appcompat:1.6.1' - implementation 'androidx.recyclerview:recyclerview:1.3.0' + implementation 'androidx.recyclerview:recyclerview:1.3.1' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' - implementation 'androidx.preference:preference:1.2.0' + implementation 'androidx.preference:preference:1.2.1' implementation 'androidx.navigation:navigation-fragment:2.6.0' implementation 'androidx.navigation:navigation-ui:2.6.0' implementation "android.arch.lifecycle:extensions:1.1.1" @@ -156,7 +156,7 @@ dependencies { // Simple CSV implementation 'com.j256.simplecsv:simplecsv:2.6' // Blessed Android - implementation 'com.github.weliem:blessed-android:2.4.0' + implementation 'com.github.weliem:blessed-android:2.4.2' // CustomActivityOnCrash implementation 'cat.ereza:customactivityoncrash:2.3.0' // AppIntro diff --git a/android_app/app/src/main/res/layout/activity_main.xml b/android_app/app/src/main/res/layout/activity_main.xml index 6368ca95..ee09d5f7 100644 --- a/android_app/app/src/main/res/layout/activity_main.xml +++ b/android_app/app/src/main/res/layout/activity_main.xml @@ -47,6 +47,7 @@ android:layout_weight="10" app:labelVisibilityMode="unlabeled" android:background="?attr/colorPrimaryDark" + android:theme="@style/AppTheme.NavigationBar" app:itemIconTint="@drawable/nav_item_colors" app:itemTextColor="@android:color/transparent" app:menu="@menu/drawer_bottom_view" /> diff --git a/android_app/app/src/main/res/values-night/themes.xml b/android_app/app/src/main/res/values-night/themes.xml index de500ef8..a988d38a 100644 --- a/android_app/app/src/main/res/values-night/themes.xml +++ b/android_app/app/src/main/res/values-night/themes.xml @@ -31,6 +31,10 @@ @color/md_theme_dark_onPrimary + + diff --git a/android_app/app/src/main/res/values/themes.xml b/android_app/app/src/main/res/values/themes.xml index f8c3b75c..e65852b6 100644 --- a/android_app/app/src/main/res/values/themes.xml +++ b/android_app/app/src/main/res/values/themes.xml @@ -30,6 +30,10 @@ @color/md_theme_light_primary + +