From 52b1e17c368d511648b467d4a0a0710768a71a2e Mon Sep 17 00:00:00 2001 From: FeuRenard Date: Tue, 5 Apr 2016 01:22:02 +0200 Subject: [PATCH] Unify alert dialog button colors Fixes #5227 Closes #5415 // FREEBIE --- res/drawable-v21/dialog_background.xml | 11 +++++++++++ res/drawable/dialog_background.xml | 5 +++++ res/values/attrs.xml | 1 + res/values/styles.xml | 23 ++++++++++++++++++----- res/values/themes.xml | 13 ++++++++++++- 5 files changed, 47 insertions(+), 6 deletions(-) create mode 100644 res/drawable-v21/dialog_background.xml create mode 100644 res/drawable/dialog_background.xml diff --git a/res/drawable-v21/dialog_background.xml b/res/drawable-v21/dialog_background.xml new file mode 100644 index 000000000..d607bfc02 --- /dev/null +++ b/res/drawable-v21/dialog_background.xml @@ -0,0 +1,11 @@ + + + + + + + \ No newline at end of file diff --git a/res/drawable/dialog_background.xml b/res/drawable/dialog_background.xml new file mode 100644 index 000000000..1c3a6cfb0 --- /dev/null +++ b/res/drawable/dialog_background.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/res/values/attrs.xml b/res/values/attrs.xml index 2df8e1d4a..4991cff62 100644 --- a/res/values/attrs.xml +++ b/res/values/attrs.xml @@ -77,6 +77,7 @@ + diff --git a/res/values/styles.xml b/res/values/styles.xml index fe4b9b5b0..5bfff8e7c 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -18,11 +18,24 @@ false - + + + + + + diff --git a/res/values/themes.xml b/res/values/themes.xml index d1384844e..0ab014834 100644 --- a/res/values/themes.xml +++ b/res/values/themes.xml @@ -9,12 +9,15 @@ @color/textsecure_primary @color/textsecure_primary_dark @color/textsecure_primary_dark + @style/AppCompatAlertDialogStyleLight + @style/AppCompatDialogStyleLight #d00000 #66000000 #ff000000 #a0000000 @color/textsecure_primary_dark + @color/background_material_light