75 lines
2.6 KiB
XML
75 lines
2.6 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="match_parent"
|
|
android:orientation="vertical" >
|
|
|
|
<TableLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="5dp"
|
|
android:layout_marginRight="5dp"
|
|
android:orientation="vertical"
|
|
android:stretchColumns="1" >
|
|
|
|
<TableRow
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="5dp"
|
|
android:layout_marginTop="5dp" >
|
|
|
|
<TextView
|
|
style="@android:style/TextAppearance.Medium"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginRight="5dp"
|
|
android:text="@string/title" />
|
|
|
|
<EditText
|
|
android:id="@+id/incident_title"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="5dp"
|
|
android:inputType="text" />
|
|
</TableRow>
|
|
|
|
<TableRow
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="5dp"
|
|
android:layout_marginTop="5dp" >
|
|
|
|
<TextView
|
|
style="@android:style/TextAppearance.Medium"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginRight="5dp"
|
|
android:text="@string/description" />
|
|
|
|
<EditText
|
|
android:id="@+id/incident_description"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="5dp"
|
|
android:inputType="textMultiLine"
|
|
android:lines="4" />
|
|
</TableRow>
|
|
</TableLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_marginLeft="3dp"
|
|
android:layout_marginRight="3dp"
|
|
android:layout_marginTop="20dp"
|
|
android:orientation="horizontal" >
|
|
|
|
<Button
|
|
android:id="@+id/incident_create_button"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/create" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout> |