优化登录界面显示
This commit is contained in:
@@ -18,7 +18,8 @@
|
|||||||
<androidx.core.widget.NestedScrollView
|
<androidx.core.widget.NestedScrollView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginHorizontal="12dp"
|
android:layout_marginHorizontal="16dp"
|
||||||
|
android:layout_marginBottom="16dp"
|
||||||
android:overScrollMode="ifContentScrolls">
|
android:overScrollMode="ifContentScrolls">
|
||||||
|
|
||||||
<com.google.android.flexbox.FlexboxLayout
|
<com.google.android.flexbox.FlexboxLayout
|
||||||
|
|||||||
@@ -20,21 +20,20 @@
|
|||||||
android:layout_height="100dp"
|
android:layout_height="100dp"
|
||||||
android:background="?attr/selectableItemBackgroundBorderless"
|
android:background="?attr/selectableItemBackgroundBorderless"
|
||||||
android:scaleType="fitCenter"
|
android:scaleType="fitCenter"
|
||||||
tools:ignore="UnusedAttribute" />
|
tools:ignore="UnusedAttribute"
|
||||||
|
android:layout_marginHorizontal="16dp"/>
|
||||||
|
|
||||||
<io.legato.kazusa.ui.widget.text.TextInputLayout
|
<com.google.android.material.textfield.TextInputLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="8dp"
|
android:layout_margin="16dp">
|
||||||
android:padding="3dp">
|
|
||||||
|
|
||||||
<io.legato.kazusa.lib.theme.view.ThemeEditText
|
<com.google.android.material.textfield.TextInputEditText
|
||||||
android:id="@+id/verification_code"
|
android:id="@+id/verification_code"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:hint="@string/verification_code"
|
android:hint="@string/verification_code"
|
||||||
tools:ignore="SpeakableTextPresentCheck,TouchTargetSizeCheck" />
|
tools:ignore="SpeakableTextPresentCheck,TouchTargetSizeCheck" />
|
||||||
|
</com.google.android.material.textfield.TextInputLayout>
|
||||||
</io.legato.kazusa.ui.widget.text.TextInputLayout>
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
@@ -5,7 +5,7 @@
|
|||||||
android:id="@+id/textInputLayout"
|
android:id="@+id/textInputLayout"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:paddingVertical="8dp">
|
android:paddingVertical="4dp">
|
||||||
|
|
||||||
<io.legato.kazusa.ui.widget.code.CodeView
|
<io.legato.kazusa.ui.widget.code.CodeView
|
||||||
android:id="@+id/editText"
|
android:id="@+id/editText"
|
||||||
|
|||||||
Reference in New Issue
Block a user