combov2: Use layout_weight to make PIN field adapt to horizontal space
This commit is contained in:
parent
438f384c67
commit
6435b36f7e
1 changed files with 4 additions and 1 deletions
|
@ -189,6 +189,8 @@
|
||||||
android:id="@+id/combov2_pin_entry_ui"
|
android:id="@+id/combov2_pin_entry_ui"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginLeft="16dp"
|
||||||
|
android:layout_marginRight="16dp"
|
||||||
android:layout_marginBottom="20dp"
|
android:layout_marginBottom="20dp"
|
||||||
android:gravity="center_horizontal"
|
android:gravity="center_horizontal"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
|
@ -210,7 +212,8 @@
|
||||||
|
|
||||||
<EditText
|
<EditText
|
||||||
android:id="@+id/combov2_pin_entry_edit"
|
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:layout_height="wrap_content"
|
||||||
android:autofillHints="@string/combov2_pin_entry_hint"
|
android:autofillHints="@string/combov2_pin_entry_hint"
|
||||||
android:digits="0123456789 "
|
android:digits="0123456789 "
|
||||||
|
|
Loading…
Reference in a new issue