Files
arcanechat-android/res/layout/autodel_confirm.xml
T
Hocuri a96aa2ff48 Show controls on small screens
Using both `setMessage()` and `setView()` on the same AlertDialog,
on small screens the "OK" and "Cancel" buttons were not be show. So, put the
message into our custom view.
2021-01-03 12:25:53 +01:00

35 lines
1.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<ScrollView android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="25dp"
android:paddingRight="25dp"
android:paddingTop="10dp"
android:paddingBottom="10dp"
android:orientation="vertical">
<TextView
android:id="@+id/autodel_ask_msg"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="16sp"
android:textColor="?android:attr/textColorPrimary"
android:paddingBottom="10dp"
tools:text="Really delete these msgs?" />
<CheckBox
android:id="@+id/i_understand"
android:text="@string/autodel_confirm"
android:textSize="16sp"
android:textColor="@color/red_500"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
</ScrollView>