Disable some fields if Steam OTP type is selected

Also, move some magic default OTP parameters to constants
This commit is contained in:
Alexander Bakker 2021-01-30 16:41:25 +01:00
parent bc6cb35dc0
commit 2c8a64f943
15 changed files with 55 additions and 29 deletions

View file

@ -237,6 +237,7 @@
android:inputType="none"/>
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/dropdown_algo_layout"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="5dp"
@ -271,6 +272,7 @@
android:inputType="text"/>
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/text_digits_layout"
android:hint="@string/digits"
android:layout_width="0dp"
android:layout_height="match_parent"