From cf5310e0fb20b6b090972ccf409596c078d8908d Mon Sep 17 00:00:00 2001 From: Nosweh <62889203+Nosweh@users.noreply.github.com> Date: Thu, 20 Aug 2020 22:44:31 +0200 Subject: Wrap password creation layout in ScrollView (#1036) --- CHANGELOG.md | 4 + .../main/res/layout/password_creation_activity.xml | 183 +++++++++++---------- 2 files changed, 99 insertions(+), 88 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dbfbf651..e4dd8929 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ All notable changes to this project will be documented in this file. - Allow sorting by recently used +### Fixed + +- Password creation UI will scroll if it does not fit on the screen + ## [1.11.1] - 2020-08-21 ### Fixed diff --git a/app/src/main/res/layout/password_creation_activity.xml b/app/src/main/res/layout/password_creation_activity.xml index 9440d128..8e2f42b1 100644 --- a/app/src/main/res/layout/password_creation_activity.xml +++ b/app/src/main/res/layout/password_creation_activity.xml @@ -3,118 +3,125 @@ ~ SPDX-License-Identifier: GPL-3.0-only --> - - + android:orientation="vertical" + android:padding="@dimen/activity_horizontal_margin"> - - + android:layout_gravity="center_vertical" + android:layout_margin="8dp" + android:enabled="false" + android:hint="@string/directory_hint" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent"> - + + - - + android:layout_gravity="center_vertical" + android:layout_margin="8dp" + android:hint="@string/crypto_name_hint" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@id/directory_input_layout"> - + + - - + android:layout_margin="8dp" + android:hint="@string/crypto_pass_label" + app:endIconMode="password_toggle" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@id/name_input_layout"> - + + - + - + android:layout_margin="8dp" + android:hint="@string/crypto_extra_label" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@id/generate_password"> - + - + - - + + + + + -- cgit v1.2.3