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:orientation="vertical"
20    android:layout_width="fill_parent"
21    android:layout_height="fill_parent">
22
23    <LinearLayout
24        android:orientation="horizontal"
25        android:layout_width="fill_parent"
26        android:layout_height="0dp"
27        android:layout_weight="1" >
28
29        <LinearLayout
30            android:orientation="vertical"
31            android:layout_width="0dp"
32            android:layout_height="fill_parent"
33            android:layout_weight="3" >
34
35            <TextureView
36                android:id="@+id/preview_view"
37                android:layout_height="0dp"
38                android:layout_width="fill_parent"
39                android:layout_weight="3" />
40            <TextView
41                android:id="@+id/preview_label"
42                android:layout_height="wrap_content"
43                android:layout_width="fill_parent"
44                android:text="@string/cf_preview_label"
45                android:padding="2dp"
46                android:textSize="16sp"
47                android:gravity="center" />
48
49        </LinearLayout>
50        <LinearLayout
51            android:orientation="vertical"
52            android:layout_width="0dp"
53            android:layout_height="fill_parent"
54            android:layout_weight="3" >
55
56            <ImageView
57                android:id="@+id/format_view"
58                android:layout_height="0dp"
59                android:layout_width="fill_parent"
60                android:layout_weight="3" />
61            <TextView
62                android:id="@+id/format_label"
63                android:layout_height="wrap_content"
64                android:layout_width="fill_parent"
65                android:text="@string/cf_format_label"
66                android:padding="2dp"
67                android:textSize="16sp"
68                android:gravity="center" />
69
70        </LinearLayout>
71
72        <LinearLayout
73            android:orientation="vertical"
74            android:layout_width="0dp"
75            android:layout_height="fill_parent"
76            android:layout_weight="2" >
77
78            <Spinner
79                android:id="@+id/cameras_selection"
80                android:layout_width="fill_parent"
81                android:layout_height="wrap_content"/>
82            <Spinner
83                android:id="@+id/resolution_selection"
84                android:layout_width="fill_parent"
85                android:layout_height="wrap_content"/>
86            <Spinner
87                android:id="@+id/format_selection"
88                android:layout_width="fill_parent"
89                android:layout_height="wrap_content"/>
90
91        </LinearLayout>
92
93    </LinearLayout>
94
95    <include layout="@layout/pass_fail_buttons" />
96
97</LinearLayout>
98