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