apkfuckery/com.discord/res/layout/widget_auth_login.xml
2020-11-16 01:00:50 +00:00

25 lines
No EOL
3.6 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="8.0dip" android:paddingRight="8.0dip" android:paddingBottom="8.0dip" style="@style/UiKit.ViewGroup.NestedScrollView.AppBarScrollingViewBehavior">
<LinearLayout android:orientation="vertical" android:id="@id/auth_login_container" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" 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="24.0dip" app:stv_subtitle="@string/login_body" app:stv_title="@string/login_title" />
<LinearLayout android:layout_width="fill_parent" android:layout_marginBottom="12.0dip" android:baselineAligned="false" android:animateLayoutChanges="true" style="@style/UiKit.User.Phone.Manage.Number">
<com.google.android.material.textfield.TextInputLayout android:id="@id/auth_login_country_code_wrap" android:visibility="gone" android:layout_width="wrap_content" android:hint="@string/country_code" android:layout_marginEnd="8.0dip" style="@style/UiKit.TextInputLayout">
<com.google.android.material.textfield.TextInputEditText android:layout_width="100.0dip" android:text="+1" style="@style/UiKit.TextInputLayout.EditText.SingleLine.CountryCode" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout android:id="@id/auth_login_login_wrap" android:layout_width="0.0dip" android:hint="@string/form_label_email" android:layout_weight="1.0" app:endIconMode="clear_text" style="@style/UiKit.TextInputLayout">
<com.google.android.material.textfield.TextInputEditText android:nextFocusForward="@id/auth_login_password" style="@style/UiKit.TextInputLayout.EditText.SingleLine.Email" />
</com.google.android.material.textfield.TextInputLayout>
</LinearLayout>
<com.google.android.material.textfield.TextInputLayout android:id="@id/auth_login_password_wrap" android:layout_marginBottom="4.0dip" 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="?colorTextLink" android:id="@id/auth_login_forgot_password" android:padding="4.0dip" android:layout_marginTop="4.0dip" android:text="@string/forgot_password" style="@style/UiKit.TextView.Subtext" />
<TextView android:textColor="?colorTextLink" android:id="@id/auth_login_password_manager_link" android:padding="4.0dip" 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>