diff options
author | Yash Garg <ben10.yashgarg@gmail.com> | 2021-08-28 01:42:29 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-27 20:12:29 +0000 |
commit | 3c8b700f7e47bab12bdb4de6b09c03f8a4089b93 (patch) | |
tree | fa842e3afec187638b95c9e1eeb652de648e24e8 /app/src/main/res | |
parent | 8c56a1d7b84d898714d7ca7d167bd60df033ab57 (diff) |
Fix auto-focus issue on Dialogs with TextInputFields (#1492)
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/folder_dialog_fragment.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/layout/fragment_manual_otp_entry.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/layout/git_credential_layout.xml | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/app/src/main/res/layout/folder_dialog_fragment.xml b/app/src/main/res/layout/folder_dialog_fragment.xml index 28a8287f..21d34805 100644 --- a/app/src/main/res/layout/folder_dialog_fragment.xml +++ b/app/src/main/res/layout/folder_dialog_fragment.xml @@ -25,6 +25,8 @@ android:layout_height="wrap_content" android:inputType="textNoSuggestions|textVisiblePassword" /> + <requestFocus /> + </com.google.android.material.textfield.TextInputLayout> <com.google.android.material.checkbox.MaterialCheckBox diff --git a/app/src/main/res/layout/fragment_manual_otp_entry.xml b/app/src/main/res/layout/fragment_manual_otp_entry.xml index d42028ac..ee5e5261 100644 --- a/app/src/main/res/layout/fragment_manual_otp_entry.xml +++ b/app/src/main/res/layout/fragment_manual_otp_entry.xml @@ -26,6 +26,8 @@ android:layout_width="match_parent" android:layout_height="match_parent" /> + <requestFocus /> + </com.google.android.material.textfield.TextInputLayout> <com.google.android.material.textfield.TextInputLayout diff --git a/app/src/main/res/layout/git_credential_layout.xml b/app/src/main/res/layout/git_credential_layout.xml index 289d713f..7935f2de 100644 --- a/app/src/main/res/layout/git_credential_layout.xml +++ b/app/src/main/res/layout/git_credential_layout.xml @@ -26,6 +26,8 @@ android:layout_height="wrap_content" android:hint="@string/ssh_keygen_passphrase" android:inputType="textPassword" /> + + <requestFocus /> </com.google.android.material.textfield.TextInputLayout> <com.google.android.material.checkbox.MaterialCheckBox |