Minor layout improvements
This commit is contained in:
parent
91cc90ec04
commit
d3f1e6abd2
@ -3,6 +3,7 @@
|
|||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:padding="8dp"
|
||||||
android:background="@drawable/border_bottom">
|
android:background="@drawable/border_bottom">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
@ -11,7 +12,7 @@
|
|||||||
android:layout_height="24dp"
|
android:layout_height="24dp"
|
||||||
android:layout_alignParentStart="true"
|
android:layout_alignParentStart="true"
|
||||||
android:layout_alignParentTop="true"
|
android:layout_alignParentTop="true"
|
||||||
android:layout_margin="16dp"
|
android:layout_marginTop="5dp"
|
||||||
android:src="@color/colorPrimaryDark"
|
android:src="@color/colorPrimaryDark"
|
||||||
tools:ignore="ContentDescription" />
|
tools:ignore="ContentDescription" />
|
||||||
|
|
||||||
@ -20,16 +21,13 @@
|
|||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignParentEnd="true"
|
android:layout_alignParentEnd="true"
|
||||||
android:layout_alignTop="@+id/avatar"
|
android:layout_alignParentTop="true"
|
||||||
android:layout_marginTop="-5dp"
|
|
||||||
android:layout_toEndOf="@+id/avatar"
|
android:layout_toEndOf="@+id/avatar"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:lines="1"
|
android:lines="1"
|
||||||
android:paddingBottom="0dp"
|
android:paddingBottom="0dp"
|
||||||
android:paddingLeft="8dp"
|
android:paddingStart="8dp"
|
||||||
android:paddingRight="8dp"
|
android:paddingEnd="8dp"
|
||||||
android:paddingTop="0dp"
|
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
tools:text="Sender" />
|
tools:text="Sender" />
|
||||||
|
|
||||||
@ -44,8 +42,8 @@
|
|||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:lines="1"
|
android:lines="1"
|
||||||
android:paddingBottom="8dp"
|
android:paddingBottom="8dp"
|
||||||
android:paddingLeft="8dp"
|
android:paddingStart="8dp"
|
||||||
android:paddingRight="8dp"
|
android:paddingEnd="8dp"
|
||||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||||
tools:text="Text" />
|
tools:text="Text" />
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user