From b5e20cb8b7512903d62a611fc3c162399d7c13d0 Mon Sep 17 00:00:00 2001 From: nin0dev Date: Sat, 23 Mar 2024 08:56:08 -0400 Subject: [PATCH] Fixed splashscreen load text being in black on darkmode --- app/src/main/res/layout/activity_main.xml | 7 +++---- app/src/main/res/values-night/colors.xml | 5 ++++- app/src/main/res/values/colors.xml | 5 ++++- app/src/main/res/values/strings.xml | 1 + 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 57f54f1..137631e 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -24,10 +24,9 @@ android:layout_height="wrap_content" android:layout_gravity="center" android:layout_marginTop="20dp" - android:text="Loading Vendroid..." - android:textAppearance="@android:style/TextAppearance.Material.Display1" - android:textColor="?android:attr/colorForeground" - android:textSize="24sp" /> + android:text="@string/splashscreen_text" + android:textColor="@color/splash_text" + android:textSize="22sp" /> diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml index e2137f5..426c3a9 100644 --- a/app/src/main/res/values-night/colors.xml +++ b/app/src/main/res/values-night/colors.xml @@ -1,2 +1,5 @@ -#363942 \ No newline at end of file + + #363942 + #ffffff + \ No newline at end of file diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index e0ad4d2..6304021 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -1,2 +1,5 @@ -#FFFFFF \ No newline at end of file + + #FFFFFF + #000000 + \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 35847b1..084a1cc 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1,3 +1,4 @@ Vendroid + Loading Vendroid… \ No newline at end of file