|
@ -1,6 +1,7 @@ |
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
xmlns:app="http://schemas.android.com/apk/res-auto" |
|
|
xmlns:app="http://schemas.android.com/apk/res-auto" |
|
|
|
|
|
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"> |
|
|
|
|
|
|
|
@ -56,6 +57,21 @@ |
|
|
app:layout_constraintStart_toEndOf="@id/paddingStart" |
|
|
app:layout_constraintStart_toEndOf="@id/paddingStart" |
|
|
app:layout_constraintTop_toTopOf="@+id/tvFrom" /> |
|
|
app:layout_constraintTop_toTopOf="@+id/tvFrom" /> |
|
|
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
|
android:id="@+id/tvSubject" |
|
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
android:layout_marginStart="6dp" |
|
|
|
|
|
android:ellipsize="end" |
|
|
|
|
|
android:fontFamily="sans-serif-light" |
|
|
|
|
|
android:maxLines="1" |
|
|
|
|
|
android:minLines="1" |
|
|
|
|
|
android:text="Subject" |
|
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small" |
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/paddingEnd" |
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/ivAttachments" |
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvFrom" /> |
|
|
|
|
|
|
|
|
<TextView |
|
|
<TextView |
|
|
android:id="@+id/tvFrom" |
|
|
android:id="@+id/tvFrom" |
|
|
android:layout_width="0dp" |
|
|
android:layout_width="0dp" |
|
@ -63,6 +79,8 @@ |
|
|
android:layout_marginStart="6dp" |
|
|
android:layout_marginStart="6dp" |
|
|
android:layout_marginEnd="6dp" |
|
|
android:layout_marginEnd="6dp" |
|
|
android:ellipsize="end" |
|
|
android:ellipsize="end" |
|
|
|
|
|
android:fontFamily="sans-serif-light" |
|
|
|
|
|
android:maxLines="1" |
|
|
android:text="From" |
|
|
android:text="From" |
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium" |
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium" |
|
|
app:layout_constraintEnd_toStartOf="@+id/tvTime" |
|
|
app:layout_constraintEnd_toStartOf="@+id/tvTime" |
|
@ -102,78 +120,76 @@ |
|
|
app:layout_constraintStart_toEndOf="@id/paddingStart" |
|
|
app:layout_constraintStart_toEndOf="@id/paddingStart" |
|
|
app:layout_constraintTop_toTopOf="@+id/tvSubject" /> |
|
|
app:layout_constraintTop_toTopOf="@+id/tvSubject" /> |
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
|
android:id="@+id/tvSubject" |
|
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
android:layout_marginStart="6dp" |
|
|
|
|
|
android:layout_marginTop="6dp" |
|
|
|
|
|
android:layout_marginEnd="6dp" |
|
|
|
|
|
android:ellipsize="end" |
|
|
|
|
|
android:text="Subject" |
|
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small" |
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/ivAttachments" |
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/paddingEnd" |
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvFrom" /> |
|
|
|
|
|
|
|
|
|
|
|
<TextView |
|
|
<TextView |
|
|
android:id="@+id/tvAccount" |
|
|
android:id="@+id/tvAccount" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_marginStart="6dp" |
|
|
|
|
|
|
|
|
android:layout_marginStart="8dp" |
|
|
android:maxLines="1" |
|
|
android:maxLines="1" |
|
|
android:text="acount" |
|
|
|
|
|
|
|
|
android:text="account" |
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small" |
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small" |
|
|
app:layout_constraintStart_toEndOf="@id/paddingStart" |
|
|
app:layout_constraintStart_toEndOf="@id/paddingStart" |
|
|
app:layout_constraintTop_toBottomOf="@id/tvSubject" /> |
|
|
|
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvSummary" /> |
|
|
|
|
|
|
|
|
<TextView |
|
|
<TextView |
|
|
android:id="@+id/tvFolder" |
|
|
android:id="@+id/tvFolder" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_marginStart="6dp" |
|
|
android:layout_marginStart="6dp" |
|
|
|
|
|
android:background="@color/colorAccent" |
|
|
android:maxLines="1" |
|
|
android:maxLines="1" |
|
|
android:text="folder" |
|
|
|
|
|
android:paddingLeft="10dp" |
|
|
android:paddingLeft="10dp" |
|
|
android:paddingRight="10dp" |
|
|
android:paddingRight="10dp" |
|
|
android:textColor="@color/colorActionForeground" |
|
|
|
|
|
android:background="@color/colorAccent" |
|
|
|
|
|
|
|
|
android:text="folder" |
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small" |
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small" |
|
|
|
|
|
android:textColor="@color/colorActionForeground" |
|
|
app:layout_constraintStart_toEndOf="@id/tvAccount" |
|
|
app:layout_constraintStart_toEndOf="@id/tvAccount" |
|
|
app:layout_constraintTop_toBottomOf="@id/tvSubject" /> |
|
|
|
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvSummary" /> |
|
|
|
|
|
|
|
|
<TextView |
|
|
<TextView |
|
|
android:id="@+id/tvCount" |
|
|
android:id="@+id/tvCount" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_marginStart="6dp" |
|
|
|
|
|
android:layout_marginTop="0.5dp" |
|
|
|
|
|
|
|
|
android:layout_marginStart="28dp" |
|
|
android:maxLines="1" |
|
|
android:maxLines="1" |
|
|
android:text="3" |
|
|
android:text="3" |
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small" |
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small" |
|
|
app:layout_constraintTop_toBottomOf="@id/tvSubject" |
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/tvFolder" /> |
|
|
|
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/tvFolder" |
|
|
|
|
|
app:layout_constraintTop_toTopOf="@id/tvFolder" /> |
|
|
|
|
|
|
|
|
<ImageView |
|
|
<ImageView |
|
|
android:id="@+id/ivThread" |
|
|
android:id="@+id/ivThread" |
|
|
android:layout_width="15dp" |
|
|
android:layout_width="15dp" |
|
|
android:layout_height="15dp" |
|
|
android:layout_height="15dp" |
|
|
android:layout_marginStart="3dp" |
|
|
|
|
|
android:layout_marginTop="1dp" |
|
|
|
|
|
|
|
|
android:layout_marginTop="2dp" |
|
|
|
|
|
android:paddingStart="2dp" |
|
|
android:src="@drawable/baseline_message_24" |
|
|
android:src="@drawable/baseline_message_24" |
|
|
app:layout_constraintBottom_toBottomOf="@id/tvCount" |
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/tvCount" |
|
|
app:layout_constraintStart_toEndOf="@id/tvCount" |
|
|
app:layout_constraintTop_toTopOf="@id/tvCount" /> |
|
|
|
|
|
|
|
|
app:layout_constraintTop_toTopOf="@id/tvFolder" /> |
|
|
|
|
|
|
|
|
<TextView |
|
|
<TextView |
|
|
android:id="@+id/tvSize" |
|
|
android:id="@+id/tvSize" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_marginEnd="6dp" |
|
|
|
|
|
|
|
|
android:layout_marginEnd="4dp" |
|
|
android:maxLines="1" |
|
|
android:maxLines="1" |
|
|
android:text="123 KB" |
|
|
android:text="123 KB" |
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small" |
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small" |
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
|
|
|
|
|
app:layout_constraintEnd_toEndOf="@+id/paddingEnd" |
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvSummary" /> |
|
|
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
|
android:id="@+id/tvSummary" |
|
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
android:layout_marginStart="16dp" |
|
|
|
|
|
android:fontFamily="sans-serif-light" |
|
|
|
|
|
android:maxLines="2" |
|
|
|
|
|
android:minLines="1" |
|
|
|
|
|
android:text="Summary" |
|
|
|
|
|
android:textStyle="italic" |
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/paddingEnd" |
|
|
|
|
|
app:layout_constraintStart_toStartOf="@id/paddingStart" |
|
|
app:layout_constraintTop_toBottomOf="@id/tvSubject" /> |
|
|
app:layout_constraintTop_toBottomOf="@id/tvSubject" /> |
|
|
|
|
|
|
|
|
<TextView |
|
|
<TextView |
|
@ -457,7 +473,6 @@ |
|
|
android:layout_marginStart="6dp" |
|
|
android:layout_marginStart="6dp" |
|
|
android:layout_marginTop="3dp" |
|
|
android:layout_marginTop="3dp" |
|
|
android:layout_marginEnd="6dp" |
|
|
android:layout_marginEnd="6dp" |
|
|
android:fontFamily="monospace" |
|
|
|
|
|
android:minHeight="60dp" |
|
|
android:minHeight="60dp" |
|
|
android:text="Body" |
|
|
android:text="Body" |
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium" |
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium" |
|
|