diff options
author | Martin/Geno <geno+dev@fireorbit.de> | 2018-09-12 18:51:13 +0200 |
---|---|---|
committer | Martin/Geno <geno+dev@fireorbit.de> | 2018-09-14 10:39:55 +0200 |
commit | 1816092e68584b5794303578b6af6d621ffc58d4 (patch) | |
tree | a567224eb7eb238b6318c70c2cd8c82b2c741e93 /src/main/res/drawable/message_bubble_received_warning.xml | |
parent | 5a53f19406f23dd7000eca156ee486e92e94f072 (diff) |
design: bubbles more curvier, avatar higher radius and no border
Diffstat (limited to 'src/main/res/drawable/message_bubble_received_warning.xml')
-rw-r--r-- | src/main/res/drawable/message_bubble_received_warning.xml | 48 |
1 files changed, 28 insertions, 20 deletions
diff --git a/src/main/res/drawable/message_bubble_received_warning.xml b/src/main/res/drawable/message_bubble_received_warning.xml index b3bf6d451..ae3222a9e 100644 --- a/src/main/res/drawable/message_bubble_received_warning.xml +++ b/src/main/res/drawable/message_bubble_received_warning.xml @@ -1,21 +1,29 @@ <?xml version="1.0" encoding="utf-8"?> -<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> - <corners - android:topLeftRadius="0dp" - android:topRightRadius="5dp" - android:bottomRightRadius="5dp" - android:bottomLeftRadius="5dp"> - </corners> - <padding - android:bottom="4dp" - android:left="6dp" - android:right="6dp" - android:top="4dp" /> - <stroke - android:width="1dp" - android:color="@color/grey500"> - </stroke> - <solid - android:color="@color/lightred"> - </solid> -</shape>
\ No newline at end of file +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:gravity="top|left"> + <vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="36dp" + android:height="24dp" + android:viewportWidth="36" + android:viewportHeight="24" > + <path + android:fillColor="@color/lightred" + android:pathData="m2,0 c6,0 10,6 10,10L18,0z" /> + </vector> + </item> + <item android:left="12dp"> + <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> + <corners + android:topLeftRadius="0dp" + android:topRightRadius="5dp" + android:bottomRightRadius="5dp" + android:bottomLeftRadius="5dp" /> + <padding + android:bottom="2dp" + android:left="18dp" + android:right="6dp" + android:top="2dp" /> + <solid android:color="@color/lightred" /> + </shape> + </item> +</layer-list> |