mirror of
https://github.com/oxen-io/session-android.git
synced 2025-04-19 04:41:30 +00:00
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:
parent
a84dcf6a8e
commit
c72719747a
5
res/drawable/blocked_indicator_background.xml
Normal file
5
res/drawable/blocked_indicator_background.xml
Normal 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>
|
@ -49,6 +49,12 @@
|
|||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:textColor="?recipient_preference_blocked"
|
android:textColor="?recipient_preference_blocked"
|
||||||
android:textAllCaps="true"
|
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" />
|
tools:ignore="UnusedAttribute" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<item name="colorPrimaryDark">@color/textsecure_primary_dark</item>
|
<item name="colorPrimaryDark">@color/textsecure_primary_dark</item>
|
||||||
<item name="colorAccent">@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_label_text">#66000000</item>
|
||||||
<item name="contact_selection_push_user">#ff000000</item>
|
<item name="contact_selection_push_user">#ff000000</item>
|
||||||
<item name="contact_selection_lay_user">#a0000000</item>
|
<item name="contact_selection_lay_user">#a0000000</item>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user