From f803465e403c43615d5ad134d4b6cd17c4a89917 Mon Sep 17 00:00:00 2001 From: Alexander Grahn Date: Sun, 11 Aug 2024 22:27:20 +0200 Subject: add user ID input field (password creation/edit), may fix #1458 (#3161) * add user ID input field (password creation/edit), may fix #1458 * fix: revert change to username label * refactor: rework FieldItem to drop hard-coded strings * refactor: drop unnecessary `.apply` --------- Co-authored-by: Harsh Shandilya --- .../main/res/layout/password_creation_activity.xml | 22 +++++++++++++++++++++- app/src/main/res/values/strings.xml | 2 ++ 2 files changed, 23 insertions(+), 1 deletion(-) (limited to 'app/src/main/res') diff --git a/app/src/main/res/layout/password_creation_activity.xml b/app/src/main/res/layout/password_creation_activity.xml index c489e121..af6036b2 100644 --- a/app/src/main/res/layout/password_creation_activity.xml +++ b/app/src/main/res/layout/password_creation_activity.xml @@ -55,6 +55,26 @@ android:layout_height="wrap_content" android:imeOptions="actionNext" android:inputType="textNoSuggestions" + android:nextFocusForward="@id/username" /> + + + + + @@ -66,7 +86,7 @@ android:hint="@string/crypto_pass_label" app:endIconMode="password_toggle" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toBottomOf="@id/name_input_layout"> + app:layout_constraintTop_toBottomOf="@id/username_input_layout"> Name + Username Password Extra content Encrypt username @@ -88,6 +89,7 @@ Search Password Username + OTP (expires in %ds) Copy Edit password Copy password -- cgit v1.2.3