From 4db2edd29a38b2c1b173c272d2e8b216a39c8750 Mon Sep 17 00:00:00 2001 From: darken Date: Fri, 27 Feb 2026 09:17:21 +0100 Subject: [PATCH] refactor(monitor): Clean up collapsed notification layouts Normalize root containers to FrameLayout, remove weight-based spacers, standardize icon sizes to 16dp, and use consistent margins. --- .../monitor_notification_dual_pods_small.xml | 187 +++++++++--------- ...monitor_notification_single_pods_small.xml | 54 ++--- ...itor_notification_unknown_device_small.xml | 14 +- 3 files changed, 123 insertions(+), 132 deletions(-) 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 b7f3d8d9..9c50b212 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 @@ -1,129 +1,120 @@ - - - - - - + android:gravity="center_vertical" + android:orientation="horizontal"> - + - - + - + - + + - - - + android:layout_marginStart="20dp" + android:gravity="center_vertical" + android:orientation="horizontal"> - - + - + - + + - - - + android:layout_marginStart="20dp" + android:gravity="center_vertical" + android:orientation="horizontal"> - + + + + + + + + - - - - \ No newline at end of file + 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 b7504302..02a7e39a 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 @@ -1,36 +1,35 @@ - - - - - + android:paddingVertical="8dp"> + + + + - - \ No newline at end of file + + 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 4b544ce9..ada6b253 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,20 +1,20 @@ - + android:layout_height="wrap_content" + android:paddingVertical="8dp"> - \ No newline at end of file +