aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/drawable/message_bubble_sent_blue.xml
diff options
context:
space:
mode:
authorMartin/Geno <geno+dev@fireorbit.de>2018-09-12 18:51:13 +0200
committerMartin/Geno <geno+dev@fireorbit.de>2018-09-14 10:39:55 +0200
commit1816092e68584b5794303578b6af6d621ffc58d4 (patch)
treea567224eb7eb238b6318c70c2cd8c82b2c741e93 /src/main/res/drawable/message_bubble_sent_blue.xml
parent5a53f19406f23dd7000eca156ee486e92e94f072 (diff)
design: bubbles more curvier, avatar higher radius and no border
Diffstat (limited to 'src/main/res/drawable/message_bubble_sent_blue.xml')
-rw-r--r--src/main/res/drawable/message_bubble_sent_blue.xml49
1 files changed, 29 insertions, 20 deletions
diff --git a/src/main/res/drawable/message_bubble_sent_blue.xml b/src/main/res/drawable/message_bubble_sent_blue.xml
index 1ee3ad0c8..8e519ff6b 100644
--- a/src/main/res/drawable/message_bubble_sent_blue.xml
+++ b/src/main/res/drawable/message_bubble_sent_blue.xml
@@ -1,21 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
-<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
- <corners
- android:topLeftRadius="5dp"
- android:topRightRadius="5dp"
- android:bottomRightRadius="0dp"
- 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/lightblue">
- </solid>
-</shape> \ No newline at end of file
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:gravity="bottom|right">
+ <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/lightblue"
+ android:pathData="m 34,24 c-6,0 -10,-6 -10,-10 l -6,12 z" />
+
+ </vector>
+ </item>
+ <item android:right="12dp">
+ <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
+ <corners
+ android:topLeftRadius="5dp"
+ android:topRightRadius="5dp"
+ android:bottomRightRadius="0dp"
+ android:bottomLeftRadius="5dp" />
+ <padding
+ android:bottom="2dp"
+ android:left="6dp"
+ android:right="18dp"
+ android:top="2dp" />
+ <solid android:color="@color/lightblue" />
+ </shape>
+ </item>
+</layer-list>