apkfuckery/com.discord/res/layout/widget_auth_login.xml
2020-03-20 21:22:03 +01:00

20 lines
No EOL
3.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout android:background="?auth_ptrn" style="@style/UiKit.ViewGroup.Page"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<include layout="@layout/widget_auth_header" />
<androidx.core.widget.NestedScrollView android:paddingLeft="@dimen/uikit_spacing_medium" android:paddingRight="@dimen/uikit_spacing_medium" android:paddingBottom="@dimen/uikit_spacing_medium" style="@style/UiKit.ViewGroup.NestedScrollView.AppBarScrollingViewBehavior">
<LinearLayout android:orientation="vertical" android:id="@id/auth_login_container" android:paddingLeft="@dimen/uikit_spacing_medium" android:paddingRight="@dimen/uikit_spacing_medium" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.discord.views.ScreenTitleView android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/uikit_spacing_xlarge" app:stv_subtitle="@string/login_body" app:stv_title="@string/login_title" />
<com.google.android.material.textfield.TextInputLayout android:id="@id/auth_login_email_wrap" android:layout_marginBottom="12.0dip" android:hint="@string/form_label_email" app:endIconMode="clear_text" style="@style/UiKit.Material.TextInputLayout">
<androidx.appcompat.widget.AppCompatEditText android:id="@id/auth_login_email" android:singleLine="true" android:inputType="textEmailAddress" android:imeOptions="actionNext" android:nextFocusForward="@id/auth_login_password" style="@style/UiKit.Material.TextInputLayout.EditText" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout android:id="@id/auth_login_password_wrap" android:layout_marginBottom="@dimen/uikit_spacing_small" android:hint="@string/form_label_password" style="@style/UiKit.Form.Field.EditText.Wrap.Password">
<com.google.android.material.textfield.TextInputEditText android:id="@id/auth_login_password" android:singleLine="true" android:inputType="textPassword" android:imeOptions="actionDone" style="@style/UiKit.Material.TextInputLayout.EditText" />
</com.google.android.material.textfield.TextInputLayout>
<TextView android:textColor="?colorTextLink" android:id="@id/auth_login_forgot_password" android:padding="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_small" android:text="@string/forgot_password" style="@style/UiKit.TextView.Subtext" />
<TextView android:textColor="?colorTextLink" android:id="@id/auth_login_password_manager_link" android:padding="@dimen/uikit_spacing_small" android:layout_marginBottom="12.0dip" 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 style="@style/UiKit.DimmerView" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>