Magisk/app/src/main/res/layout/alert_dialog.xml

59 lines
2.0 KiB
XML
Raw Normal View History

2017-02-13 15:11:50 +00:00
<?xml version="1.0" encoding="utf-8"?>
2019-02-03 09:59:04 +00:00
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/dialog_layout"
2017-02-13 15:11:50 +00:00
android:layout_width="match_parent"
2019-02-03 09:59:04 +00:00
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingTop="5dp">
2017-02-13 15:11:50 +00:00
<TextView
android:id="@+id/message"
style="?android:attr/textAppearanceMedium"
2017-02-13 15:11:50 +00:00
android:layout_width="match_parent"
2017-12-02 18:48:21 +00:00
android:layout_height="wrap_content"
android:paddingStart="25dp"
2019-02-03 09:59:04 +00:00
android:paddingTop="12dp"
android:paddingEnd="25dp"
android:paddingBottom="12dp"
2019-02-03 09:59:04 +00:00
android:textColor="?android:attr/textColorPrimary" />
2017-02-13 15:11:50 +00:00
<LinearLayout
2017-02-15 21:45:31 +00:00
android:id="@+id/button_panel"
2019-02-03 09:59:04 +00:00
style="?android:attr/buttonBarStyle"
2017-02-13 15:11:50 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:measureWithLargestChild="true"
2019-02-03 09:59:04 +00:00
android:minHeight="54dp"
2017-02-13 15:11:50 +00:00
android:orientation="horizontal"
2019-02-03 09:59:04 +00:00
android:padding="2dp">
2017-02-13 15:11:50 +00:00
<Button
android:id="@+id/negative"
style="?android:attr/buttonBarButtonStyle"
2019-02-03 09:59:04 +00:00
android:layout_width="0dp"
2017-12-02 18:48:21 +00:00
android:layout_height="match_parent"
2017-02-13 15:11:50 +00:00
android:layout_gravity="start"
android:layout_weight="1"
android:maxLines="2" />
<Button
android:id="@+id/neutral"
style="?android:attr/buttonBarButtonStyle"
2019-02-03 09:59:04 +00:00
android:layout_width="0dp"
2017-12-02 18:48:21 +00:00
android:layout_height="match_parent"
2017-02-13 15:11:50 +00:00
android:layout_gravity="center_horizontal"
android:layout_weight="1"
android:maxLines="2" />
<Button
android:id="@+id/positive"
style="?android:attr/buttonBarButtonStyle"
2019-02-03 09:59:04 +00:00
android:layout_width="0dp"
2017-12-02 18:48:21 +00:00
android:layout_height="match_parent"
2017-02-13 15:11:50 +00:00
android:layout_gravity="end"
android:layout_weight="1"
android:maxLines="2" />
</LinearLayout>
</LinearLayout>