From 1ef09124af7c24685d853d319d5833bc13d53213 Mon Sep 17 00:00:00 2001 From: Matthias Urhahn Date: Sat, 5 Nov 2022 12:11:33 +0100 Subject: [PATCH] Improve notification theming (#47) * Make notification themes more dynamic to adapt to day/night/system themes. * Fix broken style references --- .../layout/monitor_notification_dual_pods_small.xml | 1 + .../monitor_notification_single_pods_small.xml | 1 + .../monitor_notification_unknown_device_small.xml | 1 + app/src/main/res/values/styles.xml | 12 ++++++++++++ 4 files changed, 15 insertions(+) diff --git a/app/src/main/res/layout/monitor_notification_dual_pods_small.xml b/app/src/main/res/layout/monitor_notification_dual_pods_small.xml index a886634d..3424f53e 100644 --- a/app/src/main/res/layout/monitor_notification_dual_pods_small.xml +++ b/app/src/main/res/layout/monitor_notification_dual_pods_small.xml @@ -3,6 +3,7 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="wrap_content" + style="@style/Notification.Container" android:layout_marginHorizontal="8dp" android:orientation="horizontal"> diff --git a/app/src/main/res/layout/monitor_notification_single_pods_small.xml b/app/src/main/res/layout/monitor_notification_single_pods_small.xml index ef802ffa..8d9d7520 100644 --- a/app/src/main/res/layout/monitor_notification_single_pods_small.xml +++ b/app/src/main/res/layout/monitor_notification_single_pods_small.xml @@ -2,6 +2,7 @@ diff --git a/app/src/main/res/layout/monitor_notification_unknown_device_small.xml b/app/src/main/res/layout/monitor_notification_unknown_device_small.xml index b79e8b64..8ac90963 100644 --- a/app/src/main/res/layout/monitor_notification_unknown_device_small.xml +++ b/app/src/main/res/layout/monitor_notification_unknown_device_small.xml @@ -1,6 +1,7 @@ diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index ebd3559f..5d863d15 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -7,14 +7,26 @@ 8dp + + + +