1<?xml version="1.0" encoding="utf-8"?>
2
3<!-- Copyright (C) 2012 The Android Open Source Project
4
5     Licensed under the Apache License, Version 2.0 (the "License");
6     you may not use this file except in compliance with the License.
7     You may obtain a copy of the License at
8
9          http://www.apache.org/licenses/LICENSE-2.0
10
11     Unless required by applicable law or agreed to in writing, software
12     distributed under the License is distributed on an "AS IS" BASIS,
13     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14     See the License for the specific language governing permissions and
15     limitations under the License.
16-->
17
18<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
19    android:fitsSystemWindows="true"
20    android:orientation="vertical"
21    android:layout_width="fill_parent"
22    android:layout_height="fill_parent">
23
24    <LinearLayout
25        android:orientation="horizontal"
26        android:layout_width="fill_parent"
27        android:layout_height="0dp"
28        android:layout_weight="1" >
29
30        <LinearLayout
31            android:orientation="vertical"
32            android:layout_width="0dp"
33            android:layout_height="fill_parent"
34            android:layout_weight="3" >
35
36            <TextureView
37                android:id="@+id/preview_view"
38                android:layout_height="0dp"
39                android:layout_width="fill_parent"
40                android:layout_weight="3" />
41            <TextView
42                android:id="@+id/preview_label"
43                android:layout_height="wrap_content"
44                android:layout_width="fill_parent"
45                android:text="@string/cf_preview_label"
46                android:padding="2dp"
47                android:textSize="16sp"
48                android:gravity="center" />
49
50        </LinearLayout>
51        <LinearLayout
52            android:orientation="vertical"
53            android:layout_width="0dp"
54            android:layout_height="fill_parent"
55            android:layout_weight="3" >
56
57            <ImageView
58                android:id="@+id/format_view"
59                android:layout_height="0dp"
60                android:layout_width="fill_parent"
61                android:layout_weight="3" />
62            <TextView
63                android:id="@+id/format_label"
64                android:layout_height="wrap_content"
65                android:layout_width="fill_parent"
66                android:text="@string/cf_format_label"
67                android:padding="2dp"
68                android:textSize="16sp"
69                android:gravity="center" />
70
71        </LinearLayout>
72
73        <LinearLayout
74            android:orientation="vertical"
75            android:layout_width="0dp"
76            android:layout_height="fill_parent"
77            android:layout_weight="2" >
78
79            <Spinner
80                android:id="@+id/cameras_selection"
81                android:layout_width="fill_parent"
82                android:layout_height="wrap_content"/>
83            <Spinner
84                android:id="@+id/resolution_selection"
85                android:layout_width="fill_parent"
86                android:layout_height="wrap_content"/>
87            <Spinner
88                android:id="@+id/format_selection"
89                android:layout_width="fill_parent"
90                android:layout_height="wrap_content"/>
91            <Button
92                android:id="@+id/next_button"
93                android:layout_height="wrap_content"
94                android:layout_width="wrap_content"
95                android:text="@string/next_button_text" />
96
97        </LinearLayout>
98
99    </LinearLayout>
100
101    <include layout="@layout/pass_fail_buttons" />
102
103</LinearLayout>
104