fix focus on android 7

This commit is contained in:
2021-03-17 10:55:09 +01:00
parent a3987ae4de
commit 1baca589ab
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_marginStart="30dp" android:layout_marginStart="30dp"
android:layout_marginTop="30dp" android:layout_marginTop="10dp"
android:layout_marginEnd="30dp" android:layout_marginEnd="30dp"
android:layout_marginBottom="30dp" android:layout_marginBottom="30dp"
android:orientation="vertical" android:orientation="vertical"
+3 -1
View File
@@ -4,7 +4,9 @@
android:id="@+id/mainForm" android:id="@+id/mainForm"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:orientation="horizontal"> android:orientation="horizontal"
android:descendantFocusability="beforeDescendants"
android:focusableInTouchMode="true">
<com.google.android.material.textfield.TextInputLayout <com.google.android.material.textfield.TextInputLayout