From d2f79c1b4ed4fce64732906fe7222fb9e01245d9 Mon Sep 17 00:00:00 2001 From: jiesou Date: Sun, 30 Jun 2024 19:41:32 +0800 Subject: [PATCH] update app icon color (for new SplashScreen) --- app/src/main/java/top/jiecs/screener/MainActivity.kt | 1 + app/src/main/res/drawable/ic_launcher_background.xml | 2 +- app/src/main/res/drawable/ic_launcher_foreground.xml | 2 +- app/src/main/res/layout/activity_main.xml | 2 +- app/src/main/res/values/ic_launcher_background.xml | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/top/jiecs/screener/MainActivity.kt b/app/src/main/java/top/jiecs/screener/MainActivity.kt index 15e5588..e955be4 100644 --- a/app/src/main/java/top/jiecs/screener/MainActivity.kt +++ b/app/src/main/java/top/jiecs/screener/MainActivity.kt @@ -29,6 +29,7 @@ class MainActivity : AppCompatActivity(), override fun onCreate(savedInstanceState: Bundle?) { enableEdgeToEdge() + window.isNavigationBarContrastEnforced = false super.onCreate(savedInstanceState) binding = ActivityMainBinding.inflate(layoutInflater) diff --git a/app/src/main/res/drawable/ic_launcher_background.xml b/app/src/main/res/drawable/ic_launcher_background.xml index 07d5da9..9e664e7 100644 --- a/app/src/main/res/drawable/ic_launcher_background.xml +++ b/app/src/main/res/drawable/ic_launcher_background.xml @@ -5,7 +5,7 @@ android:viewportWidth="108" android:viewportHeight="108"> + app:layout_behavior="@string/appbar_scrolling_view_behavior"> - #3DDC84 + #FFFFFFFF \ No newline at end of file