From e6d3d6f523fa1d4a25758a18c7cb949abd9b0c3d Mon Sep 17 00:00:00 2001 From: Torsten Grote Date: Mon, 19 Apr 2021 15:44:48 -0300 Subject: [PATCH] Make recovery code fit on smaller screens --- app/src/main/res/layout/fragment_recovery_code_output.xml | 8 +++++--- .../main/res/layout/list_item_recovery_code_output.xml | 7 ++++--- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/app/src/main/res/layout/fragment_recovery_code_output.xml b/app/src/main/res/layout/fragment_recovery_code_output.xml index 8a84d5bd..5d0d918e 100644 --- a/app/src/main/res/layout/fragment_recovery_code_output.xml +++ b/app/src/main/res/layout/fragment_recovery_code_output.xml @@ -57,13 +57,14 @@ @@ -78,6 +79,7 @@ android:text="@string/recovery_code_confirm_button" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintStart_toStartOf="parent" /> + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/wordList" /> \ No newline at end of file diff --git a/app/src/main/res/layout/list_item_recovery_code_output.xml b/app/src/main/res/layout/list_item_recovery_code_output.xml index fade3223..780f3df7 100644 --- a/app/src/main/res/layout/list_item_recovery_code_output.xml +++ b/app/src/main/res/layout/list_item_recovery_code_output.xml @@ -4,7 +4,8 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:padding="24dp" + android:layout_marginTop="24dp" + android:layout_marginBottom="24dp" tools:showIn="@layout/fragment_recovery_code_output"> + tools:text="Test1CanBeLong" /> \ No newline at end of file