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

11 lines
2.0 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" />
<LinearLayout android:orientation="vertical" android:id="@id/auth_register_container" android:paddingLeft="@dimen/uikit_spacing_medium" android:paddingRight="@dimen/uikit_spacing_medium" android:layout_width="fill_parent" android:layout_height="fill_parent" app:layout_behavior="com.discord.app.AppScrollingViewBehavior">
<ImageView android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_xxxlarge" android:src="@drawable/img_age_gate_failure" android:contentDescription="@string/age_gate_underage_header" />
<com.discord.views.ScreenTitleView android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_medium" app:stv_title="@string/age_gate_underage_header" />
<com.discord.utilities.view.text.LinkifiedTextView android:gravity="center_horizontal" android:id="@id/auth_register_underage_description" android:paddingLeft="@dimen/uikit_spacing_large" android:paddingRight="@dimen/uikit_spacing_large" android:text="@string/age_gate_underage_body" android:lineSpacingMultiplier="1.0" style="@style/UiKit.TextView.Large" />
<com.google.android.material.button.MaterialButton android:id="@id/auth_register_underage_button" android:layout_width="fill_parent" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:text="@string/return_to_login" style="@style/UiKit.Material.Button" />
</LinearLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>