|
@ -13,6 +13,7 @@ |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_marginEnd="6dp" |
|
|
android:layout_marginEnd="6dp" |
|
|
android:layout_marginStart="6dp" |
|
|
android:layout_marginStart="6dp" |
|
|
|
|
|
android:layout_marginTop="3dp" |
|
|
android:text="From" |
|
|
android:text="From" |
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium" |
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium" |
|
|
android:textIsSelectable="true" |
|
|
android:textIsSelectable="true" |
|
@ -57,10 +58,10 @@ |
|
|
app:layout_constraintTop_toTopOf="@id/tvSubject" /> |
|
|
app:layout_constraintTop_toTopOf="@id/tvSubject" /> |
|
|
|
|
|
|
|
|
<View |
|
|
<View |
|
|
android:id="@+id/vSeparator" |
|
|
|
|
|
|
|
|
android:id="@+id/vSeparatorAddress" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_height="1dp" |
|
|
android:layout_height="1dp" |
|
|
android:layout_marginTop="6dp" |
|
|
|
|
|
|
|
|
android:layout_marginTop="3dp" |
|
|
android:background="?attr/colorSeparator" |
|
|
android:background="?attr/colorSeparator" |
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
app:layout_constraintTop_toBottomOf="@id/tvSubject" /> |
|
|
app:layout_constraintTop_toBottomOf="@id/tvSubject" /> |
|
@ -70,11 +71,12 @@ |
|
|
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:layout_marginTop="3dp" |
|
|
android:maxLines="1" |
|
|
android:maxLines="1" |
|
|
android:text="@string/title_to" |
|
|
android:text="@string/title_to" |
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small" |
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small" |
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
app:layout_constraintTop_toBottomOf="@id/vSeparator" /> |
|
|
|
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/vSeparatorAddress" /> |
|
|
|
|
|
|
|
|
<TextView |
|
|
<TextView |
|
|
android:id="@+id/tvTo" |
|
|
android:id="@+id/tvTo" |
|
@ -82,13 +84,14 @@ |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_marginEnd="6dp" |
|
|
android:layout_marginEnd="6dp" |
|
|
android:layout_marginStart="6dp" |
|
|
android:layout_marginStart="6dp" |
|
|
|
|
|
android:layout_marginTop="3dp" |
|
|
android:maxLines="1" |
|
|
android:maxLines="1" |
|
|
android:text="To" |
|
|
android:text="To" |
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small" |
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small" |
|
|
android:textIsSelectable="true" |
|
|
android:textIsSelectable="true" |
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
app:layout_constraintStart_toEndOf="@id/tvToTitle" |
|
|
app:layout_constraintStart_toEndOf="@id/tvToTitle" |
|
|
app:layout_constraintTop_toTopOf="@id/tvToTitle" /> |
|
|
|
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/vSeparatorAddress" /> |
|
|
|
|
|
|
|
|
<TextView |
|
|
<TextView |
|
|
android:id="@+id/tvCcTitle" |
|
|
android:id="@+id/tvCcTitle" |
|
@ -113,7 +116,7 @@ |
|
|
android:textIsSelectable="true" |
|
|
android:textIsSelectable="true" |
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
app:layout_constraintStart_toEndOf="@id/tvCcTitle" |
|
|
app:layout_constraintStart_toEndOf="@id/tvCcTitle" |
|
|
app:layout_constraintTop_toTopOf="@id/tvCcTitle" /> |
|
|
|
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvTo" /> |
|
|
|
|
|
|
|
|
<TextView |
|
|
<TextView |
|
|
android:id="@+id/tvBccTitle" |
|
|
android:id="@+id/tvBccTitle" |
|
@ -138,19 +141,43 @@ |
|
|
android:textIsSelectable="true" |
|
|
android:textIsSelectable="true" |
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
app:layout_constraintStart_toEndOf="@id/tvBccTitle" |
|
|
app:layout_constraintStart_toEndOf="@id/tvBccTitle" |
|
|
app:layout_constraintTop_toTopOf="@id/tvBccTitle" /> |
|
|
|
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvCc" /> |
|
|
|
|
|
|
|
|
|
|
|
<View |
|
|
|
|
|
android:id="@+id/vSeparatorAttachments" |
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
android:layout_height="1dp" |
|
|
|
|
|
android:layout_marginTop="3dp" |
|
|
|
|
|
android:background="?attr/colorSeparator" |
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvBcc" /> |
|
|
|
|
|
|
|
|
|
|
|
<android.support.v7.widget.RecyclerView |
|
|
|
|
|
android:id="@+id/rvAttachment" |
|
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
android:layout_marginEnd="6dp" |
|
|
|
|
|
android:layout_marginStart="6dp" |
|
|
|
|
|
android:layout_marginTop="3dp" |
|
|
|
|
|
android:maxHeight="90dp" |
|
|
|
|
|
android:scrollbarStyle="outsideOverlay" |
|
|
|
|
|
android:scrollbars="vertical" |
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/vSeparatorAttachments" /> |
|
|
|
|
|
|
|
|
<android.support.design.widget.BottomNavigationView |
|
|
<android.support.design.widget.BottomNavigationView |
|
|
android:id="@+id/top_navigation" |
|
|
android:id="@+id/top_navigation" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_height="30dp" |
|
|
android:layout_height="30dp" |
|
|
|
|
|
android:layout_marginTop="3dp" |
|
|
android:background="@color/darkColorSeparator" |
|
|
android:background="@color/darkColorSeparator" |
|
|
app:itemIconTint="@color/colorActionForeground" |
|
|
app:itemIconTint="@color/colorActionForeground" |
|
|
app:itemTextColor="@color/colorActionForeground" |
|
|
app:itemTextColor="@color/colorActionForeground" |
|
|
app:labelVisibilityMode="unlabeled" |
|
|
app:labelVisibilityMode="unlabeled" |
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
app:layout_constraintTop_toBottomOf="@id/tvBcc" |
|
|
|
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/rvAttachment" |
|
|
app:menu="@menu/action_view_top" /> |
|
|
app:menu="@menu/action_view_top" /> |
|
|
|
|
|
|
|
|
<ScrollView |
|
|
<ScrollView |
|
@ -159,6 +186,7 @@ |
|
|
android:layout_height="0dp" |
|
|
android:layout_height="0dp" |
|
|
android:layout_marginLeft="6dp" |
|
|
android:layout_marginLeft="6dp" |
|
|
android:layout_marginRight="6dp" |
|
|
android:layout_marginRight="6dp" |
|
|
|
|
|
android:layout_marginTop="3dp" |
|
|
android:orientation="vertical" |
|
|
android:orientation="vertical" |
|
|
app:layout_constraintBottom_toTopOf="@+id/bottom_navigation" |
|
|
app:layout_constraintBottom_toTopOf="@+id/bottom_navigation" |
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
app:layout_constraintStart_toStartOf="parent" |
|
@ -178,6 +206,7 @@ |
|
|
android:id="@+id/bottom_navigation" |
|
|
android:id="@+id/bottom_navigation" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
android:layout_marginTop="3dp" |
|
|
android:background="@color/colorPrimary" |
|
|
android:background="@color/colorPrimary" |
|
|
app:itemIconTint="@color/colorActionForeground" |
|
|
app:itemIconTint="@color/colorActionForeground" |
|
|
app:itemTextColor="@color/colorActionForeground" |
|
|
app:itemTextColor="@color/colorActionForeground" |
|
@ -199,10 +228,16 @@ |
|
|
app:layout_constraintTop_toBottomOf="parent" /> |
|
|
app:layout_constraintTop_toBottomOf="parent" /> |
|
|
|
|
|
|
|
|
<android.support.constraint.Group |
|
|
<android.support.constraint.Group |
|
|
android:id="@+id/grpCc" |
|
|
|
|
|
|
|
|
android:id="@+id/grpAddress" |
|
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
|
android:layout_height="0dp" |
|
|
|
|
|
app:constraint_referenced_ids="vSeparatorAddress,tvToTitle,tvTo,tvCcTitle,tvCc,tvBccTitle,tvBcc" /> |
|
|
|
|
|
|
|
|
|
|
|
<android.support.constraint.Group |
|
|
|
|
|
android:id="@+id/grpAttachments" |
|
|
android:layout_width="0dp" |
|
|
android:layout_width="0dp" |
|
|
android:layout_height="0dp" |
|
|
android:layout_height="0dp" |
|
|
app:constraint_referenced_ids="vSeparator,tvToTitle,tvTo,tvCcTitle,tvCc,tvBccTitle,tvBcc" /> |
|
|
|
|
|
|
|
|
app:constraint_referenced_ids="vSeparatorAttachments,rvAttachment" /> |
|
|
|
|
|
|
|
|
<android.support.constraint.Group |
|
|
<android.support.constraint.Group |
|
|
android:id="@+id/grpReady" |
|
|
android:id="@+id/grpReady" |
|
|