apkfuckery/com.discord/res/layout/widget_notice_dialog.xml
2020-09-02 04:07:20 +00:00

18 lines
No EOL
1.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout style="@style/UiKit.ViewGroup.Page.LinearLayout"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:id="@id/notice_header_container" android:layout_width="fill_parent" android:layout_height="wrap_content" style="@style/UiKit.ViewGroup.LinearLayout">
<TextView android:id="@id/notice_header" android:padding="16.0dip" android:layout_width="fill_parent" style="@style/UiKit.TextView.H1.Bold" />
<View style="@style/UiKit.Divider" />
</LinearLayout>
<androidx.core.widget.NestedScrollView style="@style/UiKit.ViewGroup.NestedScrollView">
<LinearLayout android:gravity="center" android:id="@id/notice_body_container" style="@style/UiKit.ViewGroup.LinearLayout">
<TextView android:layout_gravity="start" android:id="@id/notice_body_text" android:padding="16.0dip" android:layout_width="fill_parent" android:textAlignment="textStart" style="@style/UiKit.TextView" />
</LinearLayout>
</androidx.core.widget.NestedScrollView>
<View style="@style/UiKit.Settings.Divider" />
<LinearLayout style="@style/UiKit.Dialog.ButtonContainer">
<com.google.android.material.button.MaterialButton android:id="@id/notice_cancel" android:text="@string/cancel" style="?buttonBarNegativeButtonStyle" />
<com.google.android.material.button.MaterialButton android:id="@id/notice_ok" android:text="@string/okay" android:layout_marginStart="8.0dip" style="?buttonBarPositiveButtonStyle" />
</LinearLayout>
</LinearLayout>