From 22feac8c4a69f7422cda0d663a36568138329bad Mon Sep 17 00:00:00 2001 From: M3DZIK Date: Sat, 14 Oct 2023 14:53:21 +0200 Subject: [PATCH] Use material3 with dynamic colors in splash screen --- app/build.gradle.kts | 3 +++ app/src/main/AndroidManifest.xml | 8 ++------ app/src/main/res/values/themes.xml | 2 +- gradle/libs.versions.toml | 2 ++ 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index cde628f2..79b31c21 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -82,6 +82,9 @@ dependencies { implementation(libs.medzik.android.utils) implementation(libs.process.phoenix) + // for splash screen with material3 and dynamic color + implementation(libs.google.material) + debugImplementation(libs.androidx.ui.test.manifest) // for preview support diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 321cc7f7..d155489d 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,7 +1,5 @@ - - + + android:theme="@style/Theme.LibrePass"> - diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index a5707d7f..654f589f 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -1,4 +1,4 @@ -