18 lines
2.6 KiB
XML
18 lines
2.6 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:background="?attr/auth_ptrn" style="@style/UiKit_ViewGroup_Page">
|
||
|
<include layout="@layout/widget_auth_header"/>
|
||
|
<androidx.core.widget.NestedScrollView android:paddingLeft="8dp" android:paddingRight="8dp" android:paddingBottom="8dp" style="@style/UiKit_ViewGroup_NestedScrollView_AppBarScrollingViewBehavior">
|
||
|
<LinearLayout android:orientation="vertical" android:id="@+id/auth_login_container" android:paddingLeft="8dp" android:paddingRight="8dp" android:layout_width="match_parent" android:layout_height="match_parent">
|
||
|
<com.discord.views.ScreenTitleView android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="24dp" app:stv_subtitle="@string/auth_login_body" app:stv_title="@string/login_title"/>
|
||
|
<com.discord.views.phone.PhoneOrEmailInputView android:id="@+id/auth_login_login_input" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="12dp" app:hint="@string/form_label_email_or_phone_number" app:nextFocusForward="@+id/auth_login_password"/>
|
||
|
<com.google.android.material.textfield.TextInputLayout android:id="@+id/auth_login_password_wrap" android:layout_marginBottom="4dp" android:hint="@string/form_label_password" style="@style/UiKit_TextInputLayout_Password">
|
||
|
<com.google.android.material.textfield.TextInputEditText android:imeOptions="actionDone" style="@style/UiKit_TextInputLayout_EditText_SingleLine_Password"/>
|
||
|
</com.google.android.material.textfield.TextInputLayout>
|
||
|
<TextView android:textColor="?attr/colorTextLink" android:id="@+id/auth_login_forgot_password" android:padding="4dp" android:layout_marginTop="4dp" android:text="@string/forgot_password" style="@style/UiKit_TextView_Subtext"/>
|
||
|
<TextView android:textColor="?attr/colorTextLink" android:id="@+id/auth_login_password_manager_link" android:padding="4dp" android:layout_marginBottom="12dp" android:text="@string/password_manager_use" style="@style/UiKit_TextView_Subtext"/>
|
||
|
<com.google.android.material.button.MaterialButton android:id="@+id/auth_login" android:text="@string/login" style="@style/UiKit_AuthButton_Material"/>
|
||
|
</LinearLayout>
|
||
|
</androidx.core.widget.NestedScrollView>
|
||
|
<com.discord.utilities.dimmer.DimmerView android:id="@+id/dimmer_view" style="@style/UiKit_DimmerView"/>
|
||
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|