From c72719747a03baa6088adbd4d08cc19327393b03 Mon Sep 17 00:00:00 2001 From: Sam Lanning Date: Sun, 26 Jul 2015 21:50:02 +0100 Subject: [PATCH] Added white background to indicator for BLOCKED indicator Also modified text colour in light theme to nicer red fixes #3524 Closes #3806 // FREEBIE --- res/drawable/blocked_indicator_background.xml | 5 +++++ res/layout/recipient_preference_activity.xml | 6 ++++++ res/values/themes.xml | 2 +- 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 res/drawable/blocked_indicator_background.xml diff --git a/res/drawable/blocked_indicator_background.xml b/res/drawable/blocked_indicator_background.xml new file mode 100644 index 000000000..3fa21373f --- /dev/null +++ b/res/drawable/blocked_indicator_background.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/res/layout/recipient_preference_activity.xml b/res/layout/recipient_preference_activity.xml index 7150aea74..ea6dfe662 100644 --- a/res/layout/recipient_preference_activity.xml +++ b/res/layout/recipient_preference_activity.xml @@ -49,6 +49,12 @@ android:textStyle="bold" android:textColor="?recipient_preference_blocked" android:textAllCaps="true" + android:background="@drawable/blocked_indicator_background" + android:paddingTop="3dp" + android:paddingBottom="3dp" + android:paddingLeft="5dp" + android:paddingRight="5dp" + android:layout_marginTop="2dp" tools:ignore="UnusedAttribute" /> diff --git a/res/values/themes.xml b/res/values/themes.xml index 31337508f..43a2617b7 100644 --- a/res/values/themes.xml +++ b/res/values/themes.xml @@ -10,7 +10,7 @@ @color/textsecure_primary_dark @color/textsecure_primary_dark - #8e0000 + #d00000 #66000000 #ff000000 #a0000000