apkfuckery/com.discord/res/layout/widget_auth_register.xml

22 lines
3.4 KiB
XML
Raw Normal View History

2020-11-12 02:11:44 +00:00
<?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_register_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_marginTop="16.0dip" android:layout_marginBottom="24.0dip" app:stv_title="@string/register" />
<TextView android:textAppearance="@style/UiKit.TextAppearance.ListItem.Label" android:textSize="@dimen/uikit_textsize_small" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="8.0dip" android:text="@string/form_placeholder_username" />
<com.google.android.material.textfield.TextInputLayout android:id="@id/auth_register_username_wrap" android:layout_marginBottom="8.0dip" android:hint="@string/form_label_username" app:endIconMode="clear_text" style="@style/UiKit.TextInputLayout">
<com.google.android.material.textfield.TextInputEditText android:nextFocusForward="@id/auth_register_email" style="@style/UiKit.TextInputLayout.EditText.SingleLine.Username" />
</com.google.android.material.textfield.TextInputLayout>
<TextView android:textAppearance="@style/UiKit.TextAppearance.ListItem.Label" android:textSize="@dimen/uikit_textsize_small" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="16.0dip" android:layout_marginBottom="8.0dip" android:text="@string/form_label_account_information" />
<com.google.android.material.textfield.TextInputLayout android:id="@id/auth_register_email_wrap" android:layout_marginBottom="12.0dip" android:hint="@string/form_label_email" app:endIconMode="clear_text" style="@style/UiKit.TextInputLayout">
<com.google.android.material.textfield.TextInputEditText android:nextFocusForward="@id/auth_register_password" style="@style/UiKit.TextInputLayout.EditText.SingleLine.Email" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout android:id="@id/auth_register_password_wrap" android:layout_marginBottom="8.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>
<com.google.android.material.button.MaterialButton android:id="@id/auth_register_button" android:text="@string/next" style="@style/UiKit.AuthButton.Material" />
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout>