summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas <tschneider.ac@gmail.com>2022-12-16 09:40:41 +0100
committerThomas <tschneider.ac@gmail.com>2022-12-16 09:40:41 +0100
commit295243d781a66f89cfe83c080ef242a14d82bef3 (patch)
tree2e50195124a68ec1e2786654b136558755dc236b
parent81dd820d0aad0f2c754822269ec05d47320a4414 (diff)
fix counter colors
-rw-r--r--app/src/main/res/drawable/shape_counter.xml2
-rw-r--r--app/src/main/res/layout/notification_badge.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/res/drawable/shape_counter.xml b/app/src/main/res/drawable/shape_counter.xml
index ba8947a8b..f45d2e752 100644
--- a/app/src/main/res/drawable/shape_counter.xml
+++ b/app/src/main/res/drawable/shape_counter.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
- <solid android:color="?attr/colorAccent" />
+ <solid android:color="?colorPrimary" />
<padding
android:left="2dp"
android:right="2dp" />
diff --git a/app/src/main/res/layout/notification_badge.xml b/app/src/main/res/layout/notification_badge.xml
index 77fc122c8..9d681939f 100644
--- a/app/src/main/res/layout/notification_badge.xml
+++ b/app/src/main/res/layout/notification_badge.xml
@@ -11,7 +11,7 @@
android:background="@drawable/shape_counter"
android:gravity="center"
android:padding="3dp"
- android:textColor="@color/white"
+ android:textColor="?colorOnPrimary"
android:textSize="11sp"
tools:text="9+" />
</merge> \ No newline at end of file