• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2
3<!-- Copyright (C) 2019 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:padding="2dp"
45                android:textSize="16sp"
46                android:gravity="center" />
47
48        </LinearLayout>
49        <LinearLayout
50            android:orientation="vertical"
51            android:layout_width="0dp"
52            android:layout_height="fill_parent"
53            android:layout_weight="3" >
54
55            <ImageView
56                android:id="@+id/image_view"
57                android:layout_height="0dp"
58                android:layout_width="fill_parent"
59                android:layout_weight="3" />
60            <TextView
61                android:id="@+id/image_label"
62                android:layout_height="wrap_content"
63                android:layout_width="fill_parent"
64                android:padding="2dp"
65                android:textSize="16sp"
66                android:gravity="center" />
67
68        </LinearLayout>
69
70        <LinearLayout
71            android:orientation="vertical"
72            android:layout_width="0dp"
73            android:layout_height="fill_parent"
74            android:layout_weight="2" >
75
76            <Spinner
77                android:id="@+id/cameras_selection"
78                android:layout_width="fill_parent"
79                android:layout_height="wrap_content"/>
80
81            <TextView
82                android:id="@+id/test_label"
83                android:layout_height="wrap_content"
84                android:layout_width="fill_parent"
85                android:padding="2dp"
86                android:textSize="16sp"
87                android:gravity="left" />
88
89            <Button
90                android:id="@+id/next_button"
91                android:layout_height="wrap_content"
92                android:layout_width="wrap_content"
93                android:text="@string/next_button_text" />
94
95        </LinearLayout>
96
97    </LinearLayout>
98
99    <include layout="@layout/pass_fail_buttons" />
100
101</LinearLayout>
102