• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2
3<!-- Copyright (C) 2013 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            android:gravity="center" >
35
36            <TextureView
37                android:id="@+id/video_capture"
38                android:layout_height="0dp"
39                android:layout_width="fill_parent"
40                android:layout_weight="3" />
41            <TextView
42                android:id="@+id/camera_video_capture_label"
43                android:layout_height="wrap_content"
44                android:layout_width="fill_parent"
45                android:text="@string/video_capture_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            android:gravity="center" >
57
58            <VideoView
59                android:id="@+id/video_playback"
60                android:layout_height="0dp"
61                android:layout_width="fill_parent"
62                android:layout_weight="3" />
63            <TextView
64                android:id="@+id/camera_video_playback_label"
65                android:layout_height="wrap_content"
66                android:layout_width="fill_parent"
67                android:text="@string/video_playback_label"
68                android:padding="2dp"
69                android:textSize="16sp"
70                android:gravity="center" />
71
72        </LinearLayout>
73
74        <LinearLayout
75            android:orientation="vertical"
76            android:layout_width="0dp"
77            android:layout_height="fill_parent"
78            android:layout_weight="2" >
79
80            <Spinner
81                android:id="@+id/cameras_selection"
82                android:layout_width="fill_parent"
83                android:layout_height="wrap_content"/>
84            <Spinner
85                android:id="@+id/resolution_selection"
86                android:layout_width="fill_parent"
87                android:layout_height="wrap_content"/>
88
89            <LinearLayout
90                android:orientation="horizontal"
91                android:layout_width="match_parent"
92                android:layout_height="0dp"
93                android:layout_weight="1" >
94
95                <Button
96                    android:id="@+id/record_button"
97                    android:layout_width="wrap_content"
98                    android:layout_height="wrap_content"
99                    android:text="@string/record_button_text"/>
100                <Button
101                    android:id="@+id/next_button"
102                    android:layout_height="wrap_content"
103                    android:layout_width="wrap_content"
104                    android:text="@string/cf_next_button" />
105            </LinearLayout>
106
107            <LinearLayout
108                android:layout_width="match_parent"
109                android:layout_height="0dp"
110                android:layout_weight="2" >
111
112                <TextView
113                    android:id="@+id/status_label"
114                    android:layout_width="wrap_content"
115                    android:layout_height="wrap_content"
116                    android:text="@string/status_ready"
117                    android:padding="2dp"
118                    android:textSize="16sp"
119                    android:gravity="center" />
120            </LinearLayout>
121
122        </LinearLayout>
123
124    </LinearLayout>
125
126    <include layout="@layout/pass_fail_buttons" />
127
128</LinearLayout>
129