From 6739e25d4b03cde46b5c794779d072f9da5256ca Mon Sep 17 00:00:00 2001 From: Prince Raj Date: Sun, 17 Dec 2023 20:03:44 +0530 Subject: [PATCH] fix: leaderboard top user card color visibility in dark mode --- app/src/main/res/layout/fragment_leaderboard.xml | 4 ++-- app/src/main/res/values-night/colors.xml | 2 ++ app/src/main/res/values/colors.xml | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app/src/main/res/layout/fragment_leaderboard.xml b/app/src/main/res/layout/fragment_leaderboard.xml index 87a2a3d..6cef3a5 100644 --- a/app/src/main/res/layout/fragment_leaderboard.xml +++ b/app/src/main/res/layout/fragment_leaderboard.xml @@ -69,8 +69,8 @@ app:cardElevation="16dp" android:layout_marginTop="18dp" android:layout_marginEnd="16sp" - android:backgroundTint="#9CFB9C" - android:outlineSpotShadowColor="#9CFB9C" + android:backgroundTint="@color/topUserCardColor" + android:outlineSpotShadowColor="@color/topUserCardColor" android:layout_width="300dp" android:layout_height="85dp" android:layout_below="@+id/llLeaderboard" diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml index 0e7ce81..329937d 100644 --- a/app/src/main/res/values-night/colors.xml +++ b/app/src/main/res/values-night/colors.xml @@ -19,4 +19,6 @@ #fff #90FFFFFF + + #77C877 \ 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 9746b6c..7c25a07 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -20,4 +20,6 @@ #fff #90FFFFFF + + #9CFB9C \ No newline at end of file