aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2017-03-09 20:09:20 +0100
committerChristian Schneppe <christian@pix-art.de>2017-03-09 20:09:20 +0100
commit9cae1f7a6002acfc6b5299c599756093136c70d4 (patch)
treeb219b3597796175e63362d71255f5bbf2ac45263 /src/main/res/layout
parent5b41c0da43d7c2f18fd96aa81cd70ffe8f5970f6 (diff)
Adds a message sender label in each conversation for text messages
Diffstat (limited to 'src/main/res/layout')
-rw-r--r--src/main/res/layout/conversation_list_row.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/main/res/layout/conversation_list_row.xml b/src/main/res/layout/conversation_list_row.xml
index e10a4798f..34b7bd3dc 100644
--- a/src/main/res/layout/conversation_list_row.xml
+++ b/src/main/res/layout/conversation_list_row.xml
@@ -61,6 +61,19 @@
android:layout_below="@id/conversation_name"
android:layout_marginTop="4dp">
+ <TextView
+ android:id="@+id/sender_name"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_centerVertical="true"
+ android:layout_marginRight="3sp"
+ android:gravity="center_vertical"
+ android:minHeight="?attr/IconSize"
+ android:text="@string/me"
+ android:textColor="@color/primary"
+ android:visibility="visible" />
+
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"