diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2023-03-23 14:31:19 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2023-03-24 14:12:21 +0100 |
commit | caf2cded6edf087c55bce873e649388daf234724 (patch) | |
tree | 6633d0d5fd37835eb9363c578d289458b87d1a8a /ui/src/main/res | |
parent | b44380c81a17efc6ed52c0ca65b3adf2cac5637e (diff) |
ui: simplify IME displaying in ConfigNamingDialogFragment
Also cleanup some event listener flow.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui/src/main/res')
-rw-r--r-- | ui/src/main/res/layout/config_naming_dialog_fragment.xml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/src/main/res/layout/config_naming_dialog_fragment.xml b/ui/src/main/res/layout/config_naming_dialog_fragment.xml index 0fd88c6c..88deb976 100644 --- a/ui/src/main/res/layout/config_naming_dialog_fragment.xml +++ b/ui/src/main/res/layout/config_naming_dialog_fragment.xml @@ -3,7 +3,6 @@ xmlns:app="http://schemas.android.com/apk/res-auto"> <data> - <import type="com.wireguard.android.widget.NameInputFilter" /> </data> @@ -24,7 +23,9 @@ android:hint="@string/tunnel_name" android:imeOptions="actionDone" android:inputType="textNoSuggestions|textVisiblePassword" - app:filter="@{NameInputFilter.newInstance()}" /> + app:filter="@{NameInputFilter.newInstance()}"> + <requestFocus/> + </com.google.android.material.textfield.TextInputEditText> </com.google.android.material.textfield.TextInputLayout> |