message_bubble_sent.xml

 1<?xml version="1.0" encoding="utf-8"?>
 2<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
 3    <item android:right="15dp" android:bottom="2dp">
 4        <shape android:shape="rectangle">
 5            <corners
 6                android:radius="0dp"
 7                android:bottomLeftRadius="2dp"
 8                android:bottomRightRadius="0dp"
 9                android:topLeftRadius="2dp"
10                android:topRightRadius="2dp" />
11            <padding
12                android:bottom="0dp"
13                android:left="5dp"
14                android:right="5dp"
15                android:top="0dp" />
16            <size android:width="10dp" android:height="10dp" />
17            <solid android:color="?message_bubble_sent_bg" />
18        </shape>
19    </item>
20    <item android:bottom="2dp" android:gravity="bottom|right" android:width="10dp" android:height="10dp">
21        <vector
22           android:width="24dp"
23           android:height="24dp"
24           android:viewportWidth="24.0"
25           android:viewportHeight="24.0">
26           <path
27                android:pathData="M0,24 V 0 L24,24 z"
28                android:strokeColor="?message_bubble_sent_bg"
29                android:fillColor="?message_bubble_sent_bg"/>
30        </vector>
31    </item>
32    <item android:gravity="left|bottom" android:bottom="-0.5dp" android:left="-3dp" android:right="1dp">
33        <shape android:shape="rectangle">
34            <corners
35                android:radius="0dp"
36                android:bottomLeftRadius="2dp"
37                android:bottomRightRadius="0dp"
38                android:topLeftRadius="0dp"
39                android:topRightRadius="0dp" />
40            <padding
41                android:bottom="0dp"
42                android:left="0dp"
43                android:right="0dp"
44                android:top="0dp" />
45            <size android:height="2dp" />
46            <gradient
47                android:startColor="?message_bubble_shadow_light"
48                android:endColor="?message_bubble_shadow_dark"
49                android:angle="90"/>
50        </shape>
51    </item>
52</layer-list>