1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2015 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15 --> 16 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 17 android:gravity="center" 18 android:layout_height="match_parent" 19 android:layout_width="match_parent" 20 android:orientation="vertical"> 21 22 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 23 android:layout_height="wrap_content" 24 android:layout_width="match_parent" 25 android:orientation="horizontal"> 26 27 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 28 android:orientation="vertical" 29 android:gravity="center" 30 android:layout_height="match_parent" 31 android:layout_weight="1" 32 android:layout_width = "wrap_content"> 33 <TextView 34 android:gravity="bottom" 35 android:id="@+id/tvOutsideTempLabel" 36 android:layout_height="120dp" 37 android:layout_width ="250dp" 38 android:layout_weight="1" 39 android:text="@string/hvac_outsideTempLabel" 40 android:textSize="@dimen/hvacTextSize"/> 41 42 <TextView 43 android:gravity="center" 44 android:id="@+id/tvOutsideTemp" 45 android:layout_height="50dp" 46 android:layout_width ="250dp" 47 android:layout_weight="1" 48 android:textSize="@dimen/hvacTextSize"/> 49 </LinearLayout> 50 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 51 android:orientation="vertical" 52 android:gravity="center" 53 android:layout_height="match_parent" 54 android:layout_weight="1" 55 android:layout_width = "wrap_content"> 56 57 <Button 58 android:clickable="false" 59 android:id="@+id/btnDTempUp" 60 android:layout_height="@dimen/hvacBtnHeight" 61 android:layout_width ="250dp" 62 android:text="@string/hvac_tempUp" 63 android:textSize="@dimen/hvacTextSize"/> 64 65 <TextView 66 android:gravity="center" 67 android:id="@+id/tvDTemp" 68 android:layout_height="50dp" 69 android:layout_width ="250dp" 70 android:textSize="@dimen/hvacTextSize"/> 71 72 <Button 73 android:clickable="false" 74 android:id="@+id/btnDTempDn" 75 android:layout_height="@dimen/hvacBtnHeight" 76 android:layout_width ="250dp" 77 android:text="@string/hvac_tempDn" 78 android:textSize="@dimen/hvacTextSize"/> 79 </LinearLayout> 80 81 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 82 android:gravity="center" 83 android:layout_height="match_parent" 84 android:layout_weight="1" 85 android:layout_width = "wrap_content" 86 android:orientation="vertical"> 87 88 <Button 89 android:clickable="false" 90 android:id="@+id/btnFanSpeedUp" 91 android:layout_height="@dimen/hvacBtnHeight" 92 android:layout_width ="250dp" 93 android:text="@string/hvac_fanSpeedUp" 94 android:textSize="@dimen/hvacTextSize"/> 95 96 <TextView 97 android:gravity="center" 98 android:id="@+id/tvFanSpeed" 99 android:layout_height="50dp" 100 android:layout_width ="250dp" 101 android:textSize="@dimen/hvacTextSize"/> 102 103 <Button 104 android:clickable="false" 105 android:id="@+id/btnFanSpeedDn" 106 android:layout_height="@dimen/hvacBtnHeight" 107 android:layout_width ="250dp" 108 android:text="@string/hvac_fanSpeedDn" 109 android:textSize="@dimen/hvacTextSize"/> 110 </LinearLayout> 111 112 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 113 android:gravity="center" 114 android:layout_height="match_parent" 115 android:layout_weight="1" 116 android:layout_width = "wrap_content" 117 android:orientation="vertical"> 118 119 <Button 120 android:clickable="false" 121 android:id="@+id/btnPTempUp" 122 android:layout_height="@dimen/hvacBtnHeight" 123 android:layout_width ="250dp" 124 android:text="@string/hvac_tempUp" 125 android:textSize="@dimen/hvacTextSize"/> 126 127 <TextView 128 android:gravity="center" 129 android:id="@+id/tvPTemp" 130 android:layout_height="50dp" 131 android:layout_width ="250dp" 132 android:textSize="@dimen/hvacTextSize"/> 133 134 <Button 135 android:clickable="false" 136 android:id="@+id/btnPTempDn" 137 android:layout_height="@dimen/hvacBtnHeight" 138 android:layout_width ="250dp" 139 android:text="@string/hvac_tempDn" 140 android:textSize="@dimen/hvacTextSize"/> 141 </LinearLayout> 142 </LinearLayout> 143 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 144 android:layout_height="match_parent" 145 android:layout_width="match_parent" 146 android:layout_marginTop="@dimen/hvacBtnMargin" 147 android:orientation="horizontal"> 148 149 <RadioGroup xmlns:android="http://schemas.android.com/apk/res/android" 150 android:clickable="false" 151 android:id="@+id/rgFanPosition" 152 android:layout_height="match_parent" 153 android:layout_width="wrap_content" 154 android:orientation="vertical"> 155 <RadioButton 156 android:clickable="false" 157 android:id="@+id/rbPositionFace" 158 android:text="@string/hvac_positionFace" 159 android:textSize="@dimen/hvacTextSize"/> 160 <RadioButton 161 android:clickable="false" 162 android:id="@+id/rbPositionFloor" 163 android:text="@string/hvac_positionFloor" 164 android:textSize="@dimen/hvacTextSize"/> 165 <RadioButton 166 android:clickable="false" 167 android:id="@+id/rbPositionFaceAndFloor" 168 android:text="@string/hvac_positionFaceAndFloor" 169 android:textSize="@dimen/hvacTextSize"/> 170 <RadioButton 171 android:clickable="false" 172 android:id="@+id/rbPositionDefrost" 173 android:text="@string/hvac_positionDefrost" 174 android:textSize="@dimen/hvacTextSize"/> 175 <RadioButton 176 android:clickable="false" 177 android:id="@+id/rbPositionDefrostAndFloor" 178 android:text="@string/hvac_positionDefrostAndFloor" 179 android:textSize="@dimen/hvacTextSize"/> 180 </RadioGroup> 181 182 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 183 android:layout_height="wrap_content" 184 android:layout_width="match_parent" 185 android:layout_marginLeft="@dimen/hvacBtnMargin" 186 android:orientation="vertical"> 187 188 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 189 android:layout_height="wrap_content" 190 android:layout_width="match_parent" 191 android:orientation="horizontal"> 192 193 <ToggleButton 194 android:clickable="false" 195 android:id="@+id/tbDefrostFront" 196 android:layout_height="@dimen/hvacBtnHeight" 197 android:layout_weight="1" 198 android:layout_width ="0dp" 199 android:textOff="@string/hvac_defrostFrontOff" 200 android:textOn="@string/hvac_defrostFrontOn" 201 android:textSize="@dimen/hvacTextSize"/> 202 203 <ToggleButton 204 android:clickable="false" 205 android:id="@+id/tbMaxAc" 206 android:layout_height="@dimen/hvacBtnHeight" 207 android:layout_weight="1" 208 android:layout_width ="0dp" 209 android:textOff="@string/hvac_maxAcOff" 210 android:textOn="@string/hvac_maxAcOn" 211 android:textSize="@dimen/hvacTextSize"/> 212 213 <ToggleButton 214 android:clickable="false" 215 android:id="@+id/tbMaxDefrost" 216 android:layout_height="@dimen/hvacBtnHeight" 217 android:layout_weight="1" 218 android:layout_width ="0dp" 219 android:textOff="@string/hvac_maxDefrostOff" 220 android:textOn="@string/hvac_maxDefrostOn" 221 android:textSize="@dimen/hvacTextSize"/> 222 223 <ToggleButton 224 android:clickable="false" 225 android:id="@+id/tbDefrostRear" 226 android:layout_height="@dimen/hvacBtnHeight" 227 android:layout_weight="1" 228 android:layout_width ="0dp" 229 android:textOff="@string/hvac_defrostRearOff" 230 android:textOn="@string/hvac_defrostRearOn" 231 android:textSize="@dimen/hvacTextSize"/> 232 </LinearLayout> 233 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 234 android:layout_height="wrap_content" 235 android:layout_width="match_parent" 236 android:layout_marginTop="@dimen/hvacBtnMargin" 237 android:orientation="horizontal"> 238 239 <ToggleButton 240 android:clickable="false" 241 android:id="@+id/tbAuto" 242 android:layout_height="@dimen/hvacBtnHeight" 243 android:layout_weight="1" 244 android:layout_width ="0dp" 245 android:textOff="@string/hvac_autoOff" 246 android:textOn="@string/hvac_autoOn" 247 android:textSize="@dimen/hvacTextSize"/> 248 249 <ToggleButton 250 android:clickable="false" 251 android:id="@+id/tbAc" 252 android:layout_height="@dimen/hvacBtnHeight" 253 android:layout_weight="1" 254 android:layout_width="0dp" 255 android:textOff="@string/hvac_acOff" 256 android:textOn="@string/hvac_acOn" 257 android:textSize="@dimen/hvacTextSize"/> 258 259 <ToggleButton 260 android:clickable="false" 261 android:id="@+id/tbDual" 262 android:layout_height="@dimen/hvacBtnHeight" 263 android:layout_weight="1" 264 android:layout_width ="0dp" 265 android:textOff="@string/hvac_dualOff" 266 android:textOn="@string/hvac_dualOn" 267 android:textSize="@dimen/hvacTextSize"/> 268 269 <ToggleButton 270 android:clickable="false" 271 android:id="@+id/tbRecirc" 272 android:layout_height="@dimen/hvacBtnHeight" 273 android:layout_weight="1" 274 android:layout_width ="0dp" 275 android:textOff="@string/hvac_recircOff" 276 android:textOn="@string/hvac_recircOn" 277 android:textSize="@dimen/hvacTextSize"/> 278 </LinearLayout> 279 </LinearLayout> 280 </LinearLayout> 281 </LinearLayout> 282