From 21a7d0e3eef420de5557bb681044a53cdfc2d535 Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 6 Oct 2019 10:39:19 +0200 Subject: [PATCH] Update layout compose --- app/src/main/res/layout/fragment_compose.xml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/app/src/main/res/layout/fragment_compose.xml b/app/src/main/res/layout/fragment_compose.xml index f64ffbe952..825e7040dd 100644 --- a/app/src/main/res/layout/fragment_compose.xml +++ b/app/src/main/res/layout/fragment_compose.xml @@ -37,6 +37,8 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginStart="6dp" + android:layout_marginTop="12dp" + android:background="@null" android:hint="user" android:inputType="text" android:textAppearance="@style/TextAppearance.AppCompat.Medium" @@ -61,6 +63,8 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginStart="6dp" + android:layout_marginTop="12dp" + android:background="@null" android:hint="@string/title_to" android:imeOptions="actionNext" android:inputType="textEmailAddress" @@ -73,7 +77,6 @@ android:id="@+id/ivToAdd" android:layout_width="24dp" android:layout_height="24dp" - android:layout_marginStart="6dp" android:layout_marginEnd="6dp" android:background="?android:attr/selectableItemBackgroundBorderless" android:contentDescription="@string/title_legend_pick" @@ -99,6 +102,8 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginStart="6dp" + android:layout_marginTop="12dp" + android:background="@null" android:hint="@string/title_cc" android:imeOptions="actionNext" android:inputType="textEmailAddress" @@ -111,7 +116,6 @@ android:id="@+id/ivCcAdd" android:layout_width="24dp" android:layout_height="24dp" - android:layout_marginStart="6dp" android:layout_marginEnd="6dp" android:background="?android:attr/selectableItemBackgroundBorderless" android:contentDescription="@string/title_legend_pick" @@ -137,6 +141,8 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginStart="6dp" + android:layout_marginTop="12dp" + android:background="@null" android:hint="@string/title_bcc" android:imeOptions="actionNext" android:inputType="textEmailAddress" @@ -163,6 +169,8 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginStart="6dp" + android:layout_marginTop="12dp" + android:background="@null" android:hint="@string/title_subject" android:imeOptions="actionNext" android:inputType="textEmailSubject|textCapSentences|textAutoCorrect" @@ -175,7 +183,6 @@ android:id="@+id/ivCcBcc" android:layout_width="24dp" android:layout_height="24dp" - android:layout_marginStart="6dp" android:layout_marginEnd="6dp" android:background="?android:attr/selectableItemBackgroundBorderless" android:contentDescription="@string/title_show_addresses" @@ -189,7 +196,7 @@ android:id="@+id/vSeparatorAttachments" android:layout_width="0dp" android:layout_height="1dp" - android:layout_marginTop="3dp" + android:layout_marginTop="6dp" android:background="?attr/colorSeparator" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" @@ -200,7 +207,7 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginStart="6dp" - android:layout_marginTop="3dp" + android:layout_marginTop="6dp" android:layout_marginEnd="6dp" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" @@ -210,6 +217,7 @@ android:id="@+id/tvNoInternetAttachments" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_marginTop="6dp" android:text="@string/title_no_internet" android:textAppearance="@style/TextAppearance.AppCompat.Small" app:layout_constraintEnd_toEndOf="@id/rvAttachment"