63 lines
1.9 KiB
XML
63 lines
1.9 KiB
XML
|
<?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="wrap_content"
|
||
|
android:orientation="vertical"
|
||
|
android:padding="8dp">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/layout1"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_alignParentTop="true"
|
||
|
android:gravity="center_vertical">
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/action_type" />
|
||
|
|
||
|
<Spinner
|
||
|
android:id="@+id/type_spinner"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content" />
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/layout2"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_below="@id/layout1">
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/action_name" />
|
||
|
|
||
|
<EditText
|
||
|
android:id="@+id/edit_text"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content" />
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
<Button
|
||
|
android:id="@+id/close_button"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_below="@id/layout2"
|
||
|
android:layout_marginRight="8dp"
|
||
|
android:layout_toLeftOf="@id/save_action"
|
||
|
android:text="@string/dialog_cancel" />
|
||
|
|
||
|
<Button
|
||
|
android:id="@+id/save_action"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_below="@id/layout2"
|
||
|
android:layout_alignParentRight="true"
|
||
|
android:text="@string/edit_function" />
|
||
|
|
||
|
|
||
|
</RelativeLayout>
|