mirror of
https://github.com/android-password-store/Android-Password-Store.git
synced 2025-09-05 15:45:42 +02:00
Configure IME options and focus direction (#805)
This commit is contained in:
parent
97911c5877
commit
ffcbabc2f4
|
@ -6,6 +6,7 @@ All notable changes to this project will be documented in this file.
|
||||||
### Changed
|
### Changed
|
||||||
- Reduce Autofill false positives on username fields by removing "name" from list of heuristic terms
|
- Reduce Autofill false positives on username fields by removing "name" from list of heuristic terms
|
||||||
- Reduced app size
|
- Reduced app size
|
||||||
|
- Improve IME experience with server config screen
|
||||||
|
|
||||||
## [1.8.1] - 2020-05-24
|
## [1.8.1] - 2020-05-24
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:background="?android:attr/windowBackground"
|
android:background="?android:attr/windowBackground"
|
||||||
android:padding="@dimen/activity_horizontal_margin"
|
android:padding="@dimen/activity_horizontal_margin"
|
||||||
|
tools:background="@color/white"
|
||||||
tools:context="com.zeapo.pwdstore.git.GitOperationActivity">
|
tools:context="com.zeapo.pwdstore.git.GitOperationActivity">
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
|
@ -76,7 +77,12 @@
|
||||||
android:id="@+id/server_user"
|
android:id="@+id/server_user"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:inputType="textWebEmailAddress" />
|
android:imeOptions="actionNext"
|
||||||
|
android:inputType="textWebEmailAddress"
|
||||||
|
android:nextFocusForward="@id/server_url">
|
||||||
|
|
||||||
|
<requestFocus />
|
||||||
|
</com.google.android.material.textfield.TextInputEditText>
|
||||||
</com.google.android.material.textfield.TextInputLayout>
|
</com.google.android.material.textfield.TextInputLayout>
|
||||||
|
|
||||||
<com.google.android.material.textfield.TextInputLayout
|
<com.google.android.material.textfield.TextInputLayout
|
||||||
|
@ -93,7 +99,9 @@
|
||||||
android:id="@+id/server_url"
|
android:id="@+id/server_url"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:inputType="textWebEmailAddress" />
|
android:imeOptions="actionNext"
|
||||||
|
android:inputType="textWebEmailAddress"
|
||||||
|
android:nextFocusForward="@id/server_port" />
|
||||||
|
|
||||||
</com.google.android.material.textfield.TextInputLayout>
|
</com.google.android.material.textfield.TextInputLayout>
|
||||||
|
|
||||||
|
@ -112,7 +120,9 @@
|
||||||
android:id="@+id/server_port"
|
android:id="@+id/server_port"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:inputType="number" />
|
android:imeOptions="actionNext"
|
||||||
|
android:inputType="number"
|
||||||
|
android:nextFocusForward="@id/server_path" />
|
||||||
|
|
||||||
</com.google.android.material.textfield.TextInputLayout>
|
</com.google.android.material.textfield.TextInputLayout>
|
||||||
|
|
||||||
|
@ -129,6 +139,7 @@
|
||||||
android:id="@+id/server_path"
|
android:id="@+id/server_path"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:imeOptions="actionDone"
|
||||||
android:inputType="textWebEmailAddress" />
|
android:inputType="textWebEmailAddress" />
|
||||||
|
|
||||||
</com.google.android.material.textfield.TextInputLayout>
|
</com.google.android.material.textfield.TextInputLayout>
|
||||||
|
|
Loading…
Reference in a new issue