RustAssistant/app/res/layout/del_unit.xml
2022-04-04 22:03:10 +08:00

42 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="8dp">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="@string/delete_unit"
android:textSize="18dp" />
<TextView
android:id="@+id/descriptionView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="@string/delete_unit_text" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="right"
android:orientation="horizontal">
<Button
android:id="@+id/cancelButton"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="@string/dialog_cancel" />
<Button
android:id="@+id/okButton"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="5dp"
android:text="@string/dialog_ok" />
</LinearLayout>
</LinearLayout>