21 lines
2.1 KiB
XML
21 lines
2.1 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:visibility="gone" android:baselineAligned="false" style="@style/UiKit_ViewGroup_Page_LinearLayout">
|
||
|
<ScrollView android:layout_height="0dp" android:layout_weight="1" style="@style/UiKit_ViewGroup_ScrollView">
|
||
|
<LinearLayout style="@style/UiKit_Copy_Container">
|
||
|
<ImageView android:id="@+id/home_panel_center_nsfw_art" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="16dp" android:layout_marginRight="16dp" android:src="?attr/img_chat_nsfw" android:scaleType="fitCenter" android:contentDescription="@string/nsfw_title" style="@style/UiKit_ImageView"/>
|
||
|
<LinearLayout style="@style/UiKit_Copy">
|
||
|
<TextView android:textSize="@dimen/uikit_textsize_xxlarge" android:gravity="center" android:layout_gravity="center" android:id="@+id/home_panel_center_nsfw_title" android:text="@string/nsfw_title" style="@style/UiKit_TextView_H1_Bold"/>
|
||
|
<com.discord.utilities.view.text.LinkifiedTextView android:gravity="center" android:id="@+id/home_panel_center_nsfw_description" android:layout_marginTop="8dp" android:text="@string/nsfw_description" style="@style/UiKit_TextView"/>
|
||
|
</LinearLayout>
|
||
|
</LinearLayout>
|
||
|
</ScrollView>
|
||
|
<LinearLayout android:id="@+id/home_panel_center_nsfw_anchor_wrap" style="@style/UiKit_Copy_Anchor">
|
||
|
<FrameLayout style="@style/UiKit_Copy_Anchor_Item_Rotatable">
|
||
|
<com.google.android.material.button.MaterialButton android:id="@+id/home_panel_center_nsfw_confirm" android:text="@string/nsfw_accept" style="@style/UiKit_Material_Button_Red"/>
|
||
|
</FrameLayout>
|
||
|
<FrameLayout style="@style/UiKit_Copy_Anchor_Item_Rotatable">
|
||
|
<com.google.android.material.button.MaterialButton android:id="@+id/home_panel_center_nsfw_deny" android:text="@string/nsfw_decline" style="@style/UiKit_Material_Button_Secondary"/>
|
||
|
</FrameLayout>
|
||
|
</LinearLayout>
|
||
|
</LinearLayout>
|