From 2176fdcba4c63815a5845b0fc753ee69e29558f2 Mon Sep 17 00:00:00 2001 From: izzy2lost Date: Mon, 27 Oct 2025 21:50:22 -0400 Subject: [PATCH] better indicator of in focus buttons in controllers quick actions --- .../main/res/drawable/fab_focus_indicator.xml | 16 ++++++++++++++++ app/src/main/res/layout/dialog_quick_actions.xml | 7 ++++++- .../main/res/layout/drawer_header_settings.xml | 4 +++- 3 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 app/src/main/res/drawable/fab_focus_indicator.xml diff --git a/app/src/main/res/drawable/fab_focus_indicator.xml b/app/src/main/res/drawable/fab_focus_indicator.xml new file mode 100644 index 0000000..c74cf78 --- /dev/null +++ b/app/src/main/res/drawable/fab_focus_indicator.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/layout/dialog_quick_actions.xml b/app/src/main/res/layout/dialog_quick_actions.xml index 138f340..11109b0 100644 --- a/app/src/main/res/layout/dialog_quick_actions.xml +++ b/app/src/main/res/layout/dialog_quick_actions.xml @@ -35,6 +35,7 @@ android:layout_height="wrap_content" android:contentDescription="Pause/Play" app:srcCompat="@drawable/play_pause_24px" + android:foreground="@drawable/fab_focus_indicator" android:layout_marginEnd="12dp" /> + app:srcCompat="@drawable/ic_reboot" + app:materialThemeOverlay="@style/ThemeOverlay.Material3Expressive.FloatingActionButton.Secondary" + android:foreground="@drawable/fab_focus_indicator" /> diff --git a/app/src/main/res/layout/drawer_header_settings.xml b/app/src/main/res/layout/drawer_header_settings.xml index 5b2f76a..d22417a 100644 --- a/app/src/main/res/layout/drawer_header_settings.xml +++ b/app/src/main/res/layout/drawer_header_settings.xml @@ -40,6 +40,7 @@ android:contentDescription="Reboot" app:srcCompat="@drawable/ic_reboot" app:materialThemeOverlay="@style/ThemeOverlay.Material3Expressive.FloatingActionButton.Secondary" + android:foreground="@drawable/fab_focus_indicator" android:layout_marginEnd="12dp" /> + app:materialThemeOverlay="@style/ThemeOverlay.Material3Expressive.FloatingActionButton.Tertiary" + android:foreground="@drawable/fab_focus_indicator" />