1<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
2    xmlns:tools="http://schemas.android.com/tools"
3    android:layout_width="match_parent"
4    android:layout_height="match_parent"
5    tools:context=".PhotoCaptureActivity" >
6
7    <SurfaceView
8        android:id="@+id/camera_fov_camera_preview"
9        android:layout_width="wrap_content"
10        android:layout_height="wrap_content"
11        android:layout_gravity="center" />
12
13    <com.android.cts.verifier.camera.fov.CameraPreviewView
14        android:id="@+id/camera_fov_preview_overlay"
15        android:layout_width="wrap_content"
16        android:layout_height="wrap_content" />
17
18    <RelativeLayout
19        android:layout_width="match_parent"
20        android:layout_height="match_parent" >
21
22        <Button
23            android:id="@+id/camera_fov_settings_button"
24            android:layout_width="wrap_content"
25            android:layout_height="wrap_content"
26            android:layout_alignParentLeft="true"
27            android:text="@string/camera_fov_settings_button_text" />
28
29        <Button
30            android:id="@+id/camera_fov_change_preview_size_button"
31            android:layout_width="wrap_content"
32            android:layout_height="wrap_content"
33            android:layout_below="@id/camera_fov_settings_button"
34            android:text="@string/camera_fov_change_preview_sizes_button_text" />
35
36        <TextView
37            android:id="@+id/camera_fov_tap_to_take_photo"
38            android:layout_width="wrap_content"
39            android:layout_height="wrap_content"
40            android:layout_alignParentRight="true"
41            android:padding="10sp"
42            android:text="@string/camera_fov_tap_to_take_photo"
43            android:textSize="18sp" />
44
45        <Spinner
46            android:id="@+id/camera_fov_resolution_selector"
47            android:layout_width="wrap_content"
48            android:layout_height="wrap_content"
49            android:layout_alignParentBottom="true"
50            android:layout_alignParentLeft="true"
51            android:padding="10sp"
52            android:popupBackground="#ffffff"
53            android:textSize="18sp" />
54    </RelativeLayout>
55
56</FrameLayout>
57