2019-07-25 13:33:21 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
2020-05-15 13:32:58 +00:00
|
|
|
android:layout_height="wrap_content"
|
2022-04-25 11:44:48 +00:00
|
|
|
android:orientation="vertical">
|
2019-07-25 13:33:21 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
2022-05-01 05:39:52 +00:00
|
|
|
android:id="@+id/llMessage"
|
2019-07-25 13:33:21 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-04-25 11:44:48 +00:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/stripe"
|
|
|
|
android:layout_width="3dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginEnd="3dp"
|
|
|
|
android:background="@color/grey" />
|
2019-07-25 13:33:21 +00:00
|
|
|
|
2022-05-05 06:19:35 +00:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/avatar"
|
|
|
|
android:layout_width="36dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginEnd="3dp"
|
|
|
|
android:adjustViewBounds="true"
|
|
|
|
android:paddingTop="3dp"
|
|
|
|
android:paddingBottom="3dp"
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
android:src="@mipmap/ic_launcher" />
|
|
|
|
|
2020-05-15 13:32:58 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2019-07-25 13:33:21 +00:00
|
|
|
android:layout_height="wrap_content"
|
2022-04-25 11:44:48 +00:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingTop="6dp"
|
|
|
|
android:paddingBottom="6dp">
|
2019-07-25 13:33:21 +00:00
|
|
|
|
2022-04-25 11:44:48 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2020-05-15 13:32:58 +00:00
|
|
|
android:layout_height="wrap_content"
|
2022-04-25 11:44:48 +00:00
|
|
|
android:orientation="horizontal">
|
2019-07-26 10:32:35 +00:00
|
|
|
|
2022-04-25 11:44:48 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvFrom"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:text="From"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
2022-05-05 19:35:33 +00:00
|
|
|
android:textColor="?android:textColorPrimary" />
|
2020-05-15 13:32:58 +00:00
|
|
|
|
2022-04-25 11:44:48 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvTime"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="6dp"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:text="12:34"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
2022-05-05 19:35:33 +00:00
|
|
|
android:textColor="?android:textColorPrimary" />
|
2022-04-25 11:44:48 +00:00
|
|
|
</LinearLayout>
|
2020-05-15 13:32:58 +00:00
|
|
|
|
2022-04-25 11:44:48 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2020-05-15 13:32:58 +00:00
|
|
|
android:layout_height="wrap_content"
|
2022-04-25 11:44:48 +00:00
|
|
|
android:orientation="horizontal">
|
2020-05-15 13:32:58 +00:00
|
|
|
|
2022-04-25 11:44:48 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvSubject"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:text="Subject"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
2022-05-05 19:35:33 +00:00
|
|
|
android:textColor="?android:textColorPrimary" />
|
2022-04-25 11:44:48 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvAccount"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="6dp"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:text="Account"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
2022-05-05 19:35:33 +00:00
|
|
|
android:textColor="?android:textColorPrimary" />
|
2022-04-25 11:44:48 +00:00
|
|
|
</LinearLayout>
|
2020-05-15 13:32:58 +00:00
|
|
|
</LinearLayout>
|
2019-07-26 10:32:35 +00:00
|
|
|
</LinearLayout>
|
2022-04-25 11:44:48 +00:00
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/separator"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
2022-05-10 20:21:43 +00:00
|
|
|
android:background="@color/grey" />
|
2019-07-25 13:33:21 +00:00
|
|
|
</LinearLayout>
|