8 lines
2.3 KiB
XML
8 lines
2.3 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" style="@style/UiKit_ViewGroup_Page">
|
||
|
<TextView android:textSize="@dimen/uikit_textsize_xxlarge" android:gravity="center" android:id="@+id/age_verify_confirm_title" android:paddingLeft="16dp" android:paddingRight="16dp" android:text="@string/age_gate_confirm_header" android:lineSpacingMultiplier="1" app:layout_constraintBottom_toTopOf="@+id/age_verify_confirm_description" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0" app:layout_constraintVertical_chainStyle="2" style="@style/UiKit_TextView_H1_Bold"/>
|
||
|
<com.discord.utilities.view.text.LinkifiedTextView android:gravity="center_horizontal" android:id="@+id/age_verify_confirm_description" android:paddingLeft="16dp" android:paddingRight="16dp" android:layout_marginTop="8dp" android:text="@string/age_gate_body" android:lineSpacingMultiplier="1" app:layout_constraintBottom_toTopOf="@+id/age_verify_confirm_button" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/age_verify_confirm_title" style="@style/UiKit_TextView_Large"/>
|
||
|
<com.discord.views.LoadingButton android:id="@+id/age_verify_confirm_button" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="16dp" android:layout_marginTop="16dp" android:layout_marginRight="16dp" app:layout_constraintBottom_toTopOf="@+id/age_verify_confirm_back_button" app:layout_constraintTop_toBottomOf="@+id/age_verify_confirm_description" app:lb_progress_color="@color/white" app:lb_text="@string/age_gate_confirm_button" app:lb_text_color="@drawable/button_text_color_primary_100"/>
|
||
|
<com.google.android.material.button.MaterialButton android:id="@+id/age_verify_confirm_back_button" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="16dp" android:layout_marginRight="16dp" android:text="@string/back" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintTop_toBottomOf="@+id/age_verify_confirm_button" style="@style/UiKit_Material_Button_Secondary"/>
|
||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|