From 904cafcf482ba7f42f24fa5f7ec5d78d7d5fc8e7 Mon Sep 17 00:00:00 2001 From: "Daniele Verducci (Slimpenguin)" Date: Wed, 28 Feb 2024 08:59:08 +0100 Subject: [PATCH] Fixed user badge cutout in night mode --- app/src/main/res/drawable/user_badge_mask.xml | 2 +- app/src/main/res/layout/app_toolbar.xml | 1 + app/src/main/res/values-night/colors.xml | 3 +++ app/src/main/res/values/colors.xml | 3 +++ 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/app/src/main/res/drawable/user_badge_mask.xml b/app/src/main/res/drawable/user_badge_mask.xml index 0d36cbd..2c30731 100644 --- a/app/src/main/res/drawable/user_badge_mask.xml +++ b/app/src/main/res/drawable/user_badge_mask.xml @@ -9,7 +9,7 @@ + android:color="@color/toolbar_background" /> diff --git a/app/src/main/res/layout/app_toolbar.xml b/app/src/main/res/layout/app_toolbar.xml index c030538..405dc3e 100644 --- a/app/src/main/res/layout/app_toolbar.xml +++ b/app/src/main/res/layout/app_toolbar.xml @@ -35,6 +35,7 @@ android:layout_marginTop="@dimen/spacer_1hx" android:layout_marginEnd="@dimen/spacer_2x" android:layout_marginBottom="@dimen/spacer_1hx" + app:cardBackgroundColor="@color/toolbar_background" app:cardCornerRadius="30dp" app:cardElevation="2dp" app:strokeWidth="0dp"> diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml index 2c41e6d..8a20699 100644 --- a/app/src/main/res/values-night/colors.xml +++ b/app/src/main/res/values-night/colors.xml @@ -4,4 +4,7 @@ #888 #000 #C000 + + + #211e28 \ 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 a833d30..432101c 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -38,4 +38,7 @@ #fff + + + @color/defaultBackground \ No newline at end of file