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: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: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/image_view" 58 android:layout_height="0dp" 59 android:layout_width="fill_parent" 60 android:layout_weight="3" /> 61 <TextView 62 android:id="@+id/image_label" 63 android:layout_height="wrap_content" 64 android:layout_width="fill_parent" 65 android:padding="2dp" 66 android:textSize="16sp" 67 android:gravity="center" /> 68 69 </LinearLayout> 70 71 <LinearLayout 72 android:orientation="vertical" 73 android:layout_width="0dp" 74 android:layout_height="fill_parent" 75 android:layout_weight="2" > 76 77 <Spinner 78 android:id="@+id/cameras_selection" 79 android:layout_width="fill_parent" 80 android:layout_height="wrap_content"/> 81 82 <TextView 83 android:id="@+id/test_label" 84 android:layout_height="wrap_content" 85 android:layout_width="fill_parent" 86 android:padding="2dp" 87 android:textSize="16sp" 88 android:gravity="left" /> 89 90 <Button 91 android:id="@+id/next_button" 92 android:layout_height="wrap_content" 93 android:layout_width="wrap_content" 94 android:text="@string/next_button_text" /> 95 96 </LinearLayout> 97 98 </LinearLayout> 99 100 <include layout="@layout/pass_fail_buttons" /> 101 102</LinearLayout> 103