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:layout_width="match_parent" 16 android:layout_height="match_parent" 17 android:weightSum="15" 18 android:background="@android:color/transparent" 19 android:orientation="vertical"> 20 21 <ViewSwitcher android:id="@+id/evs_preview_switcher" 22 android:layout_width="match_parent" 23 android:layout_height="0dp" 24 android:layout_weight="12"> 25 <LinearLayout android:id="@+id/evs_switcher_view" 26 android:layout_width="match_parent" 27 android:layout_height="match_parent" 28 android:layout_weight="12" 29 android:gravity="center" 30 android:orientation="vertical"/> 31 </ViewSwitcher> 32 33 <LinearLayout android:id="@+id/evs_checkboxes_container0" 34 android:layout_weight="1" 35 android:layout_width="match_parent" 36 android:layout_height="0dp"> 37 38 <TextView android:id="@+id/checkbox_label" 39 android:layout_weight="1" 40 android:layout_width="0dp" 41 android:layout_height="match_parent" 42 android:gravity="center" 43 android:background="@color/textview_background" 44 android:textSize="@dimen/checkbox_text_size" 45 android:text="@string/textview_text_car0"/> 46 47 <CheckBox android:id="@+id/checkbox_rearview" 48 android:textSize="@dimen/checkbox_text_size" 49 android:textColor="@color/checkbox_text" 50 android:background="@color/checkbox_background" 51 android:layout_weight="1" 52 android:layout_width="0dp" 53 android:layout_height="wrap_content" 54 android:text="@string/checkbox_text_rearview"/> 55 56 <CheckBox android:id="@+id/checkbox_frontview" 57 android:textSize="@dimen/checkbox_text_size" 58 android:textColor="@color/checkbox_text" 59 android:background="@color/checkbox_background" 60 android:layout_weight="1" 61 android:layout_width="0dp" 62 android:layout_height="wrap_content" 63 android:text="@string/checkbox_text_frontview"/> 64 65 <CheckBox android:id="@+id/checkbox_leftview" 66 android:textSize="@dimen/checkbox_text_size" 67 android:textColor="@color/checkbox_text" 68 android:background="@color/checkbox_background" 69 android:layout_weight="1" 70 android:layout_width="0dp" 71 android:layout_height="wrap_content" 72 android:text="@string/checkbox_text_leftview"/> 73 74 <CheckBox android:id="@+id/checkbox_rightview" 75 android:textSize="@dimen/checkbox_text_size" 76 android:textColor="@color/checkbox_text" 77 android:background="@color/checkbox_background" 78 android:layout_weight="1" 79 android:layout_width="0dp" 80 android:layout_height="wrap_content" 81 android:text="@string/checkbox_text_rightview"/> 82 83 </LinearLayout> 84 85 <LinearLayout android:id="@+id/evs_checkboxes_container1" 86 android:layout_weight="1" 87 android:layout_width="match_parent" 88 android:layout_height="0dp"> 89 90 <TextView android:id="@+id/checkbox1_label" 91 android:layout_weight="1" 92 android:layout_width="0dp" 93 android:layout_height="match_parent" 94 android:gravity="center" 95 android:background="@color/textview_background" 96 android:textSize="@dimen/checkbox_text_size" 97 android:text="@string/textview_text_car1"/> 98 99 <CheckBox android:id="@+id/checkbox1_rearview" 100 android:textSize="@dimen/checkbox_text_size" 101 android:textColor="@color/checkbox_text" 102 android:background="@color/checkbox_background" 103 android:layout_weight="1" 104 android:layout_width="0dp" 105 android:layout_height="wrap_content" 106 android:text="@string/checkbox_text_rearview"/> 107 108 <CheckBox android:id="@+id/checkbox1_frontview" 109 android:textSize="@dimen/checkbox_text_size" 110 android:textColor="@color/checkbox_text" 111 android:background="@color/checkbox_background" 112 android:layout_weight="1" 113 android:layout_width="0dp" 114 android:layout_height="wrap_content" 115 android:text="@string/checkbox_text_frontview"/> 116 117 <CheckBox android:id="@+id/checkbox1_leftview" 118 android:textSize="@dimen/checkbox_text_size" 119 android:textColor="@color/checkbox_text" 120 android:background="@color/checkbox_background" 121 android:layout_weight="1" 122 android:layout_width="0dp" 123 android:layout_height="wrap_content" 124 android:text="@string/checkbox_text_leftview"/> 125 126 <CheckBox android:id="@+id/checkbox1_rightview" 127 android:textSize="@dimen/checkbox_text_size" 128 android:textColor="@color/checkbox_text" 129 android:background="@color/checkbox_background" 130 android:layout_weight="1" 131 android:layout_width="0dp" 132 android:layout_height="wrap_content" 133 android:text="@string/checkbox_text_rightview"/> 134 135 </LinearLayout> 136 137 <LinearLayout android:id="@+id/evs_buttons_container" 138 android:layout_weight="1" 139 android:layout_width="match_parent" 140 android:layout_height="0dp" 141 style="?android:attr/buttonBarStyle"> 142 143 <Button android:id="@+id/apply_button" 144 android:layout_weight="1" 145 android:layout_width="0dp" 146 android:layout_height="wrap_content" 147 android:text="@string/apply_button_text" 148 android:textColor="@color/button_text" 149 android:background="@color/button_background" 150 android:textSize="@dimen/close_button_text_size" 151 style="?android:attr/buttonBarButtonStyle"/> 152 153 <Button android:id="@+id/close_button" 154 android:layout_weight="1" 155 android:layout_width="0dp" 156 android:layout_height="wrap_content" 157 android:text="@string/close_button_text" 158 android:textColor="@color/button_text" 159 android:background="@color/button_background" 160 android:textSize="@dimen/close_button_text_size" 161 style="?android:attr/buttonBarButtonStyle"/> 162 </LinearLayout> 163</LinearLayout> 164