Added white background to indicator for BLOCKED indicator

Also modified text colour in light theme to nicer red

fixes #3524
Closes #3806
// FREEBIE
This commit is contained in:
Sam Lanning 2015-07-26 21:50:02 +01:00 committed by Moxie Marlinspike
parent a84dcf6a8e
commit c72719747a
3 changed files with 12 additions and 1 deletions

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/white" />
<corners android:radius="4dp" />
</shape>

View File

@ -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" />
</LinearLayout>

View File

@ -10,7 +10,7 @@
<item name="colorPrimaryDark">@color/textsecure_primary_dark</item>
<item name="colorAccent">@color/textsecure_primary_dark</item>
<item name="recipient_preference_blocked">#8e0000</item>
<item name="recipient_preference_blocked">#d00000</item>
<item name="contact_selection_label_text">#66000000</item>
<item name="contact_selection_push_user">#ff000000</item>
<item name="contact_selection_lay_user">#a0000000</item>