- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:background="@color/gallery_background"
- >
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:layout_alignParentTop="true"
- android:id="@+id/header"
- >
- </LinearLayout>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:background="@color/gallery_background"
- android:layout_height="wrap_content"
- android:layout_width="wrap_content"
- android:layout_alignParentBottom="true"
- android:id="@+id/footer"
- >
- <TextView android:id="@+id/lblCategory"
- android:text="@string/lblCategory"
- android:singleLine="true"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- />
- <Spinner android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:id="@+id/txtCategory"
- android:layout_below="@+id/lblCategory"/>
- <TextView android:id="@+id/lblNote"
- android:text="@string/lblNote"
- android:singleLine="true"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_below="@+id/txtCategory"
- />
- <EditText android:id="@+id/txtNote"
- android:singleLine="false"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_below="@+id/lblNote"
- android:imeOptions="actionNext"
- />
- <Button android:id="@+id/btnTake"
- android:layout_height="wrap_content"
- android:layout_below="@+id/txtNote"
- android:text="@string/btnTake"
- android:layout_width="wrap_content"
- />
- <Button android:id="@+id/btnAttach"
- android:layout_height="wrap_content"
- android:layout_below="@+id/txtNote"
- android:layout_toRightOf="@id/btnTake"
- android:text="@string/btnAttach"
- android:layout_width="wrap_content"
- />
- <Button android:id="@+id/btnNext"
- android:layout_width="wrap_content"
- android:layout_below="@+id/txtNote"
- android:layout_toRightOf="@id/btnAttach"
- android:text="@string/btnNext"
- android:layout_height="wrap_content"/>
- <Button android:id="@+id/btnExit"
- android:layout_height="wrap_content"
- android:layout_width="wrap_content"
- android:layout_below="@+id/txtNote"
- android:layout_toRightOf="@id/btnNext"
- android:text="@string/btnExit"
- />
- <ImageView android:id="@+id/gallery_image"
- android:layout_width="@dimen/gps_width"
- android:layout_height="@dimen/gps_height"
- android:src="@drawable/gps_not_connected"
- android:layout_below="@+id/txtNote"
- android:layout_toRightOf="@id/btnExit"
- android:contentDescription="@string/gallery_gps"
- android:layout_alignParentRight="true"
- />
- </RelativeLayout>
- <Gallery
- android:id="@+id/photoGallery"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:background="@color/gallery_background"
- android:layout_above="@id/footer"
- android:layout_below="@id/header"
- />
- </RelativeLayout>