1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2023 The Android Open Source Project 3 Licensed under the Apache License, Version 2.0 (the "License"); 4 you may not use this file except in compliance with the License. 5 You may obtain a copy of the License at 6 http://www.apache.org/licenses/LICENSE-2.0 7 Unless required by applicable law or agreed to in writing, software 8 distributed under the License is distributed on an "AS IS" BASIS, 9 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 See the License for the specific language governing permissions and 11 limitations under the License. 12--> 13<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 14 android:id="@+id/evs_preview_container" 15 android:fitsSystemWindows="true" 16 android:layout_width="match_parent" 17 android:layout_height="match_parent" 18 android:weightSum="15" 19 android:background="@android:color/transparent" 20 android:orientation="vertical"> 21 22 <ViewSwitcher android:id="@+id/evs_preview_switcher" 23 android:layout_width="match_parent" 24 android:layout_height="0dp" 25 android:layout_weight="12"> 26 <LinearLayout android:id="@+id/evs_switcher_view" 27 android:layout_width="match_parent" 28 android:layout_height="match_parent" 29 android:layout_weight="12" 30 android:gravity="center" 31 android:orientation="vertical"/> 32 </ViewSwitcher> 33 34 <LinearLayout android:id="@+id/evs_checkboxes_container0" 35 android:layout_weight="1" 36 android:layout_width="match_parent" 37 android:layout_height="0dp"> 38 39 <TextView android:id="@+id/checkbox_label" 40 android:layout_weight="1" 41 android:layout_width="0dp" 42 android:layout_height="match_parent" 43 android:gravity="center" 44 android:background="@color/textview_background" 45 android:textSize="@dimen/checkbox_text_size" 46 android:text="@string/textview_text_car0"/> 47 48 <CheckBox android:id="@+id/checkbox_rearview" 49 android:textSize="@dimen/checkbox_text_size" 50 android:textColor="@color/checkbox_text" 51 android:background="@color/checkbox_background" 52 android:layout_weight="1" 53 android:layout_width="0dp" 54 android:layout_height="wrap_content" 55 android:text="@string/checkbox_text_rearview"/> 56 57 <CheckBox android:id="@+id/checkbox_frontview" 58 android:textSize="@dimen/checkbox_text_size" 59 android:textColor="@color/checkbox_text" 60 android:background="@color/checkbox_background" 61 android:layout_weight="1" 62 android:layout_width="0dp" 63 android:layout_height="wrap_content" 64 android:text="@string/checkbox_text_frontview"/> 65 66 <CheckBox android:id="@+id/checkbox_leftview" 67 android:textSize="@dimen/checkbox_text_size" 68 android:textColor="@color/checkbox_text" 69 android:background="@color/checkbox_background" 70 android:layout_weight="1" 71 android:layout_width="0dp" 72 android:layout_height="wrap_content" 73 android:text="@string/checkbox_text_leftview"/> 74 75 <CheckBox android:id="@+id/checkbox_rightview" 76 android:textSize="@dimen/checkbox_text_size" 77 android:textColor="@color/checkbox_text" 78 android:background="@color/checkbox_background" 79 android:layout_weight="1" 80 android:layout_width="0dp" 81 android:layout_height="wrap_content" 82 android:text="@string/checkbox_text_rightview"/> 83 84 </LinearLayout> 85 86 <LinearLayout android:id="@+id/evs_checkboxes_container1" 87 android:layout_weight="1" 88 android:layout_width="match_parent" 89 android:layout_height="0dp"> 90 91 <TextView android:id="@+id/checkbox1_label" 92 android:layout_weight="1" 93 android:layout_width="0dp" 94 android:layout_height="match_parent" 95 android:gravity="center" 96 android:background="@color/textview_background" 97 android:textSize="@dimen/checkbox_text_size" 98 android:text="@string/textview_text_car1"/> 99 100 <CheckBox android:id="@+id/checkbox1_rearview" 101 android:textSize="@dimen/checkbox_text_size" 102 android:textColor="@color/checkbox_text" 103 android:background="@color/checkbox_background" 104 android:layout_weight="1" 105 android:layout_width="0dp" 106 android:layout_height="wrap_content" 107 android:text="@string/checkbox_text_rearview"/> 108 109 <CheckBox android:id="@+id/checkbox1_frontview" 110 android:textSize="@dimen/checkbox_text_size" 111 android:textColor="@color/checkbox_text" 112 android:background="@color/checkbox_background" 113 android:layout_weight="1" 114 android:layout_width="0dp" 115 android:layout_height="wrap_content" 116 android:text="@string/checkbox_text_frontview"/> 117 118 <CheckBox android:id="@+id/checkbox1_leftview" 119 android:textSize="@dimen/checkbox_text_size" 120 android:textColor="@color/checkbox_text" 121 android:background="@color/checkbox_background" 122 android:layout_weight="1" 123 android:layout_width="0dp" 124 android:layout_height="wrap_content" 125 android:text="@string/checkbox_text_leftview"/> 126 127 <CheckBox android:id="@+id/checkbox1_rightview" 128 android:textSize="@dimen/checkbox_text_size" 129 android:textColor="@color/checkbox_text" 130 android:background="@color/checkbox_background" 131 android:layout_weight="1" 132 android:layout_width="0dp" 133 android:layout_height="wrap_content" 134 android:text="@string/checkbox_text_rightview"/> 135 136 </LinearLayout> 137 138 <LinearLayout android:id="@+id/evs_buttons_container" 139 android:layout_weight="1" 140 android:layout_width="match_parent" 141 android:layout_height="0dp" 142 style="?android:attr/buttonBarStyle"> 143 144 <Button android:id="@+id/apply_button" 145 android:layout_weight="1" 146 android:layout_width="0dp" 147 android:layout_height="wrap_content" 148 android:text="@string/apply_button_text" 149 android:textColor="@color/button_text" 150 android:background="@color/button_background" 151 android:textSize="@dimen/close_button_text_size" 152 style="?android:attr/buttonBarButtonStyle"/> 153 154 <Button android:id="@+id/close_button" 155 android:layout_weight="1" 156 android:layout_width="0dp" 157 android:layout_height="wrap_content" 158 android:text="@string/close_button_text" 159 android:textColor="@color/button_text" 160 android:background="@color/button_background" 161 android:textSize="@dimen/close_button_text_size" 162 style="?android:attr/buttonBarButtonStyle"/> 163 </LinearLayout> 164</LinearLayout> 165