From fa389721bc0675216abcbf01fffe49949e18fd63 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 4 Dec 2025 22:47:25 +0000 Subject: [PATCH] Fix dialog button colors to respect theme-specific accents Created separate dialog styles for each color theme (Purple, Green, Blue, Red, Pink, Gray) to ensure buttons use theme-specific accent colors instead of the default. Each theme now references its own dialog style with the correct colorAccent. Co-authored-by: adbenitez <24558636+adbenitez@users.noreply.github.com> --- src/main/res/values/styles.xml | 50 ++++++++++++++++++++++++++++++++++ src/main/res/values/themes.xml | 24 ++++++++++++++++ 2 files changed, 74 insertions(+) diff --git a/src/main/res/values/styles.xml b/src/main/res/values/styles.xml index 91deb5653..33e2ef340 100644 --- a/src/main/res/values/styles.xml +++ b/src/main/res/values/styles.xml @@ -1,17 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/res/values/themes.xml b/src/main/res/values/themes.xml index 47e807318..0806adf3b 100644 --- a/src/main/res/values/themes.xml +++ b/src/main/res/values/themes.xml @@ -277,6 +277,8 @@ @color/purple_accent @color/purple_accent @color/purple_accent + + @style/AppCompatAlertDialogStylePurple @color/purple_unreadcount @drawable/conversation_list_item_background_purple @@ -306,6 +308,8 @@ @color/purple_accent @color/purple_accent + @style/AppCompatAlertDialogStylePurpleDark + @color/purple_unreadcount @drawable/conversation_list_item_background_purple @drawable/pinned_list_item_background_purple @@ -344,6 +348,8 @@ @color/green_accent @color/green_accent + @style/AppCompatAlertDialogStyleGreen + @color/green_unreadcount @drawable/conversation_list_item_background_green @drawable/pinned_list_item_background_green @@ -372,6 +378,8 @@ @color/green_accent @color/green_accent + @style/AppCompatAlertDialogStyleGreenDark + @color/green_unreadcount @drawable/conversation_list_item_background_green @drawable/pinned_list_item_background_green @@ -411,6 +419,8 @@ @color/blue_accent @color/blue_accent + @style/AppCompatAlertDialogStyleBlue + @color/blue_unreadcount @drawable/conversation_list_item_background_blue @drawable/pinned_list_item_background_blue @@ -439,6 +449,8 @@ @color/blue_accent @color/blue_accent + @style/AppCompatAlertDialogStyleBlueDark + @color/blue_unreadcount @drawable/conversation_list_item_background_blue @drawable/pinned_list_item_background_blue @@ -477,6 +489,8 @@ @color/red_accent @color/red_accent + @style/AppCompatAlertDialogStyleRed + @color/red_unreadcount @drawable/conversation_list_item_background_red @drawable/pinned_list_item_background_red @@ -505,6 +519,8 @@ @color/red_accent @color/red_accent + @style/AppCompatAlertDialogStyleRedDark + @color/red_unreadcount @drawable/conversation_list_item_background_red @drawable/pinned_list_item_background_red @@ -543,6 +559,8 @@ @color/pink_accent @color/pink_accent + @style/AppCompatAlertDialogStylePink + @color/pink_unreadcount @drawable/conversation_list_item_background_pink @drawable/pinned_list_item_background_pink @@ -571,6 +589,8 @@ @color/pink_accent @color/pink_accent + @style/AppCompatAlertDialogStylePinkDark + @color/pink_unreadcount @drawable/conversation_list_item_background_pink @drawable/pinned_list_item_background_pink @@ -609,6 +629,8 @@ @color/gray_accent @color/gray_accent + @style/AppCompatAlertDialogStyleGray + @color/gray_unreadcount @drawable/conversation_list_item_background_gray @drawable/pinned_list_item_background_gray @@ -637,6 +659,8 @@ @color/gray_accent @color/gray_accent + @style/AppCompatAlertDialogStyleGrayDark + @color/gray_unreadcount @drawable/conversation_list_item_background_gray @drawable/pinned_list_item_background_gray