Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ishmaelmakitla/47f39e3fe702cb49ba1388cda96cd4de to your computer and use it in GitHub Desktop.
Save ishmaelmakitla/47f39e3fe702cb49ba1388cda96cd4de to your computer and use it in GitHub Desktop.
<?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" >
<Spinner
android:id="@+id/types_spinner"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
<EditText
android:id="@+id/edtDescription"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:minLines="3"
android:textSize="12sp"
android:hint="@string/edit_text_hint_description"
android:layout_marginLeft="5dp"
/>
<CheckBox android:id="@+id/chkLocation"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:checked="true"
android:text="@string/chk_label_incident_here"
/>
<EditText
android:id="@+id/edtLocation"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textSize="12sp"
android:minLines="2"
android:hint="@string/edit_text_hint_location"
android:layout_marginLeft="5dp"
android:visibility="invisible"
/>
<Button
android:id="@+id/buttonSubmit"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/dialog_button_title_submit"
android:layout_marginTop="10dp"
/>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment