diff options
author | Christian Schneppe <christian.schneppe@pix-art.de> | 2019-11-15 17:12:17 +0100 |
---|---|---|
committer | Christian Schneppe <christian.schneppe@pix-art.de> | 2019-11-15 17:14:11 +0100 |
commit | 5c26aec10d45c878c31e0ac80982b08d0fe4b69f (patch) | |
tree | 9345d6947e33d4dc192d705ffbef1c811160061d /src/main/res | |
parent | 345e2b7da1f1bc39a2e6d2274813adc7b6a410c0 (diff) |
make private messages in MUCs more visible
Diffstat (limited to 'src/main/res')
7 files changed, 93 insertions, 0 deletions
diff --git a/src/main/res/drawable/message_bubble_received_light_dark_private.xml b/src/main/res/drawable/message_bubble_received_light_dark_private.xml new file mode 100644 index 000000000..28bdb9b15 --- /dev/null +++ b/src/main/res/drawable/message_bubble_received_light_dark_private.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> + <stroke android:width="2dp" android:color="@color/accent"/> + <corners + android:topLeftRadius="0dp" + android:topRightRadius="5dp" + android:bottomRightRadius="5dp" + android:bottomLeftRadius="5dp" /> + <padding + android:bottom="2dp" + android:left="6dp" + android:right="6dp" + android:top="2dp" /> + <solid android:color="@color/darkwhite" /> +</shape>
\ No newline at end of file diff --git a/src/main/res/drawable/message_bubble_received_light_private.xml b/src/main/res/drawable/message_bubble_received_light_private.xml new file mode 100644 index 000000000..6752d9393 --- /dev/null +++ b/src/main/res/drawable/message_bubble_received_light_private.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> + <stroke android:width="2dp" android:color="@color/accent"/> + <corners + android:topLeftRadius="0dp" + android:topRightRadius="5dp" + android:bottomRightRadius="5dp" + android:bottomLeftRadius="5dp" /> + <padding + android:bottom="2dp" + android:left="6dp" + android:right="6dp" + android:top="2dp" /> + <solid android:color="@color/lightwhite" /> +</shape>
\ No newline at end of file diff --git a/src/main/res/drawable/message_bubble_received_warning_dark_private.xml b/src/main/res/drawable/message_bubble_received_warning_dark_private.xml new file mode 100644 index 000000000..758d6d2e8 --- /dev/null +++ b/src/main/res/drawable/message_bubble_received_warning_dark_private.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> + <stroke android:width="2dp" android:color="@color/accent"/> + <corners + android:topLeftRadius="0dp" + android:topRightRadius="5dp" + android:bottomRightRadius="5dp" + android:bottomLeftRadius="5dp" /> + <padding + android:bottom="4dp" + android:left="6dp" + android:right="6dp" + android:top="4dp" /> + <solid android:color="@color/darkred" /> +</shape>
\ No newline at end of file diff --git a/src/main/res/drawable/message_bubble_received_warning_private.xml b/src/main/res/drawable/message_bubble_received_warning_private.xml new file mode 100644 index 000000000..6aef6105e --- /dev/null +++ b/src/main/res/drawable/message_bubble_received_warning_private.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> + <stroke android:width="2dp" android:color="@color/accent"/> + <corners + android:topLeftRadius="0dp" + android:topRightRadius="5dp" + android:bottomRightRadius="5dp" + android:bottomLeftRadius="5dp" /> + <padding + android:bottom="4dp" + android:left="6dp" + android:right="6dp" + android:top="4dp" /> + <solid android:color="@color/lightred" /> +</shape>
\ No newline at end of file diff --git a/src/main/res/drawable/message_bubble_sent_dark_private.xml b/src/main/res/drawable/message_bubble_sent_dark_private.xml new file mode 100644 index 000000000..e37c43ad3 --- /dev/null +++ b/src/main/res/drawable/message_bubble_sent_dark_private.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> + <stroke android:width="2dp" android:color="@color/accent"/> + <corners + android:topLeftRadius="5dp" + android:topRightRadius="5dp" + android:bottomRightRadius="0dp" + android:bottomLeftRadius="5dp" /> + <padding + android:bottom="4dp" + android:left="6dp" + android:right="6dp" + android:top="4dp" /> + <solid android:color="@color/darkblue" /> +</shape>
\ No newline at end of file diff --git a/src/main/res/drawable/message_bubble_sent_private.xml b/src/main/res/drawable/message_bubble_sent_private.xml new file mode 100644 index 000000000..e83ded310 --- /dev/null +++ b/src/main/res/drawable/message_bubble_sent_private.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> + <stroke android:width="2dp" android:color="@color/accent"/> + <corners + android:topLeftRadius="5dp" + android:topRightRadius="5dp" + android:bottomRightRadius="0dp" + android:bottomLeftRadius="5dp" /> + <padding + android:bottom="4dp" + android:left="6dp" + android:right="6dp" + android:top="4dp" /> + <solid android:color="@color/lightblue" /> +</shape>
\ No newline at end of file diff --git a/src/main/res/values/themes.xml b/src/main/res/values/themes.xml index 1672e1576..cebd97038 100644 --- a/src/main/res/values/themes.xml +++ b/src/main/res/values/themes.xml @@ -194,6 +194,9 @@ <item name="windowActionModeOverlay">true</item> <item name="android:actionModeBackground">@color/accent</item> + <item name="android:homeAsUpIndicator" type="reference">@drawable/ic_arrow_back_white_24dp + </item> + <item name="TextSizeCaption">12sp</item> <item name="TextSizeBody1">14sp</item> <item name="TextSizeBody2">14sp</item> |