From 9fa86472deb7df5b03c72a5bd2a7a3f87bf03c36 Mon Sep 17 00:00:00 2001 From: Christian Schneppe Date: Sun, 27 Jan 2019 12:24:01 +0100 Subject: migrate conversation list row to binder --- src/main/res/layout/conversation_list_row.xml | 326 +++++++++++++------------- 1 file changed, 166 insertions(+), 160 deletions(-) (limited to 'src/main/res/layout') diff --git a/src/main/res/layout/conversation_list_row.xml b/src/main/res/layout/conversation_list_row.xml index 23ba4ac9d..3d03c3906 100644 --- a/src/main/res/layout/conversation_list_row.xml +++ b/src/main/res/layout/conversation_list_row.xml @@ -1,193 +1,199 @@ - + + android:descendantFocusability="blocksDescendants"> - - - + android:background="?attr/color_background_secondary"> - - + android:background="?android:selectableItemBackground" + android:orientation="horizontal" + android:padding="8dp"> + + + android:layout_centerVertical="true" + android:layout_toEndOf="@+id/conversation_image" + android:layout_toRightOf="@+id/conversation_image" + android:paddingStart="@dimen/avatar_item_distance" + android:paddingLeft="@dimen/avatar_item_distance"> - - + + - - + android:layout_below="@id/conversation_name" + android:layout_marginTop="4dp"> - + android:text="@string/me" + android:textAppearance="@style/TextAppearance.Conversations.Body1.Secondary" + android:visibility="visible" /> - + + + + + + + + + + + + + + + + + + + + + - - - - - - - + android:gravity="end" + android:paddingStart="4dp" + android:paddingLeft="4dp" + android:paddingEnd="4dp" + android:paddingRight="4dp" + android:textAppearance="@style/TextAppearance.Conversations.Caption" /> - - - - - - - + - \ No newline at end of file + \ No newline at end of file -- cgit v1.2.3