combov2: Use layout_weight to make PIN field adapt to horizontal space

This commit is contained in:
Carlos Rafael Giani 2023-03-19 17:40:27 +01:00
parent 438f384c67
commit 6435b36f7e

View file

@ -189,6 +189,8 @@
android:id="@+id/combov2_pin_entry_ui"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="16dp"
android:layout_marginRight="16dp"
android:layout_marginBottom="20dp"
android:gravity="center_horizontal"
android:orientation="vertical"
@ -210,7 +212,8 @@
<EditText
android:id="@+id/combov2_pin_entry_edit"
android:layout_width="200dp"
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:autofillHints="@string/combov2_pin_entry_hint"
android:digits="0123456789 "