Handle text only quote drafts

This commit is contained in:
Niels Andriesse
2021-06-18 15:54:24 +10:00
parent 9419bafe93
commit 123cd6d486
8 changed files with 105 additions and 103 deletions

View File

@@ -3,7 +3,10 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="@color/input_bar_background"
android:paddingHorizontal="@dimen/medium_spacing"
android:paddingVertical="6dp"
android:gravity="center_vertical">
<View
@@ -14,12 +17,13 @@
android:layout_centerVertical="true"
android:background="@color/text" />
<!-- The start margin below is the accent line thickness (4 dp) + small spacing (8 dp) -->
<!-- The start margin below is the accent line thickness (4 dp) + 12 dp -->
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="12dp"
android:layout_marginStart="16dp"
android:layout_marginEnd="30dp"
android:layout_alignParentStart="true"
android:layout_centerVertical="true"
android:orientation="vertical">
@@ -50,9 +54,10 @@
<ImageView
android:layout_width="32dp"
android:layout_height="32dp"
android:padding="8dp"
android:padding="6dp"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"
android:src="@drawable/ic_x_28" />
android:src="@drawable/ic_close_white_48dp"
app:tint="@color/text" />
</RelativeLayout>