diff options
author | Christian Schneppe <christian@pix-art.de> | 2017-02-10 22:35:12 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2017-02-10 22:35:12 +0100 |
commit | 23294c5737f0759595ee6ee6e9d89f214208c7b2 (patch) | |
tree | 0ab7e15d39f3ea28448ce8229f7319c138d7e2ec /src/main/res/layout/message_sent.xml | |
parent | 53e2f9608d1608d9bad7124ef129725dbbb7f9f5 (diff) |
changed message bubbles from PNG to XML
Diffstat (limited to '')
-rw-r--r-- | src/main/res/layout/message_sent.xml | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/main/res/layout/message_sent.xml b/src/main/res/layout/message_sent.xml index d1923df71..b45da4470 100644 --- a/src/main/res/layout/message_sent.xml +++ b/src/main/res/layout/message_sent.xml @@ -20,7 +20,7 @@ android:layout_alignParentRight="true" android:layout_alignParentEnd="true" app:riv_border_width="1dp" - app:riv_border_color="@color/black12" + app:riv_border_color="@color/grey500" app:riv_corner_radius="5dp" /> <LinearLayout @@ -29,11 +29,12 @@ android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:layout_toLeftOf="@+id/message_photo" - android:background="@drawable/message_bubble_sent" - android:minHeight="53dp" - android:layout_marginLeft="-4dp" + android:minHeight="48dp" android:longClickable="true" - android:layout_marginBottom="-4dp"> + android:layout_marginBottom="0dp" + android:layout_marginLeft="4dp" + android:layout_marginRight="4dp" + android:layout_marginTop="4dp" > <LinearLayout android:layout_width="wrap_content" @@ -46,12 +47,12 @@ android:id="@+id/message_image" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginTop="8dp" + android:layout_marginTop="2dp" android:layout_marginBottom="4dp" android:adjustViewBounds="true" android:longClickable="true" app:riv_border_width="1dp" - app:riv_border_color="@color/black12" + app:riv_border_color="@color/grey500" app:riv_corner_radius="5dp" android:scaleType="centerCrop" android:maxHeight="400dp" |