RustAssistant/app/res/layout/template_dialog.xml

38 lines
1.3 KiB
XML
Raw Normal View History

2022-04-04 14:03:10 +00:00
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="8dp">
<TextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:text="@string/select_template"
android:textSize="15dp" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/title" />
<Button
android:id="@+id/createbutton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/recyclerview"
android:layout_toLeftOf="@id/saveButton"
android:text="@string/create_template"
android:layout_marginRight="8dp"/>
<Button
android:id="@+id/saveButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/recyclerview"
android:layout_alignParentRight="true"
android:text="@string/edit_function" />
</RelativeLayout>