From b99c003917952673a7e560e5d7c547ea73ee4244 Mon Sep 17 00:00:00 2001 From: Hocuri Date: Tue, 3 Nov 2020 19:17:35 +0100 Subject: [PATCH 1/2] In the editor, always show the "Done" button --- res/layout/image_editor_hud.xml | 61 +++++++++++++++++++-------------- 1 file changed, 35 insertions(+), 26 deletions(-) diff --git a/res/layout/image_editor_hud.xml b/res/layout/image_editor_hud.xml index 42ef935a7..cd7cf012e 100644 --- a/res/layout/image_editor_hud.xml +++ b/res/layout/image_editor_hud.xml @@ -13,16 +13,20 @@ android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1" + android:layout_marginTop="8dp" + android:layout_marginEnd="10dp" + android:layout_marginRight="10dp" android:animateLayoutChanges="true"> - + - + - + - - - + Date: Thu, 5 Nov 2020 13:16:40 +0100 Subject: [PATCH 2/2] Put color picker to the right --- res/layout/image_editor_hud.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/res/layout/image_editor_hud.xml b/res/layout/image_editor_hud.xml index cd7cf012e..98c1c81db 100644 --- a/res/layout/image_editor_hud.xml +++ b/res/layout/image_editor_hud.xml @@ -143,13 +143,13 @@ android:id="@+id/scribble_color_picker" android:layout_width="32dp" android:layout_height="250dp" - android:layout_below="@id/scribble_toolbar" + android:layout_below="@id/scribble_save_button" android:layout_gravity="center_horizontal" android:layout_marginTop="32dp" android:layout_marginEnd="10dp" android:layout_marginRight="10dp" - app:layout_constraintEnd_toEndOf="@+id/scribble_toolbar" - app:layout_constraintTop_toBottomOf="@+id/scribble_toolbar" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintTop_toBottomOf="@+id/scribble_confirm_button" app:pickerBorderColor="@color/white" app:pickerBorderWidth="3dp" app:pickerColors="@array/scribble_colors" />