diff options
Diffstat (limited to 'src/main/res/layout/message_sent.xml')
-rw-r--r-- | src/main/res/layout/message_sent.xml | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/src/main/res/layout/message_sent.xml b/src/main/res/layout/message_sent.xml index fc68c3894..b94c67d25 100644 --- a/src/main/res/layout/message_sent.xml +++ b/src/main/res/layout/message_sent.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" - android:layout_width="fill_parent" - android:layout_height="wrap_content" + android:layout_width="match_parent" + android:layout_height="match_parent" android:orientation="vertical" android:paddingBottom="3dp" android:paddingLeft="8dp" @@ -14,11 +14,12 @@ android:layout_width="48dp" android:layout_height="48dp" android:scaleType="fitXY" - android:paddingBottom="3dp" android:src="@drawable/ic_profile" android:layout_alignParentBottom="true" android:layout_alignParentRight="true" android:layout_alignParentEnd="true" + app:riv_border_width="1dp" + app:riv_border_color="@color/black12" app:riv_corner_radius="2dp" /> <LinearLayout @@ -30,7 +31,8 @@ android:background="@drawable/message_bubble_sent" android:minHeight="53dp" android:layout_marginLeft="-4dp" - android:longClickable="true"> + android:longClickable="true" + android:layout_marginBottom="-4dp"> <LinearLayout android:layout_width="wrap_content" @@ -109,11 +111,18 @@ android:layout_height="?attr/TextSizeInfo" android:layout_gravity="center_vertical" android:layout_marginLeft="4sp" - android:alpha="0.54" android:gravity="center_vertical" android:src="@drawable/ic_received_indicator" /> + <ImageView + android:id="@+id/indicator_read" + android:layout_width="?attr/TextSizeInfo" + android:layout_height="?attr/TextSizeInfo" + android:layout_gravity="center_vertical" + android:gravity="center_vertical" + android:src="@drawable/ic_read_indicator" + android:layout_marginLeft="-8sp" + android:adjustViewBounds="false" /> </LinearLayout> </LinearLayout> </LinearLayout> - </RelativeLayout>
\ No newline at end of file |