2020-05-17 12:40:10 +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" />
|
2020-09-02 04:07:20 +00:00
|
|
|
<LinearLayout android:orientation="vertical" android:id="@id/auth_register_container" android:paddingLeft="16.0dip" android:paddingRight="16.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" app:layout_behavior="com.discord.app.AppScrollingViewBehavior">
|
2020-05-17 12:40:10 +00:00
|
|
|
<ImageView android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/img_age_gate_birthday" android:contentDescription="@string/age_gate_header" />
|
2020-09-02 04:07:20 +00:00
|
|
|
<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/age_gate_header" />
|
2020-09-16 23:45:23 +00:00
|
|
|
<com.google.android.material.textfield.TextInputLayout android:id="@id/auth_register_birthday" android:layout_marginBottom="8.0dip" android:hint="@string/age_gate_date_of_birth" style="@style/UiKit.TextInputLayout">
|
2020-07-08 16:44:49 +00:00
|
|
|
<com.google.android.material.textfield.TextInputEditText style="@style/UiKit.TextInputLayout.EditText.NoFocus" />
|
2020-05-17 12:40:10 +00:00
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
2020-09-02 04:07:20 +00:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="16.0dip" style="@style/UiKit.ViewGroup">
|
2020-05-17 12:40:10 +00:00
|
|
|
<com.google.android.material.checkbox.MaterialCheckBox android:id="@id/auth_tos_opt_in" android:layout_width="wrap_content" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@id/auth_policy_links" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toLeftOf="@id/auth_policy_links" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.5" style="@style/UiKit.Checkbox" />
|
2020-09-02 04:07:20 +00:00
|
|
|
<com.discord.utilities.view.text.LinkifiedTextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?colorHeaderSecondary" android:id="@id/auth_policy_links" android:visibility="visible" android:layout_width="0.0dip" android:lineSpacingMultiplier="1.0" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toRightOf="@id/auth_tos_opt_in" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toEndOf="@id/auth_tos_opt_in" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.5" app:layout_goneMarginLeft="8.0dip" app:layout_goneMarginStart="8.0dip" style="@style/UiKit.TextView" />
|
2020-05-17 12:40:10 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
<com.google.android.material.button.MaterialButton android:id="@id/auth_register_button" android:text="@string/register_title" style="@style/UiKit.AuthButton.Material" />
|
|
|
|
</LinearLayout>
|
2020-10-05 23:18:16 +00:00
|
|
|
<com.discord.utilities.dimmer.DimmerView style="@style/UiKit.DimmerView" />
|
2020-05-17 12:40:10 +00:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|