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
51        <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
52            android:orientation="vertical"
53            android:gravity="center"
54            android:layout_height="match_parent"
55            android:layout_weight="1"
56            android:layout_width = "wrap_content">
57
58            <Button
59                android:clickable="false"
60                android:id="@+id/btnDTempUp"
61                android:layout_height="@dimen/hvacBtnHeight"
62                android:layout_width ="250dp"
63                android:text="@string/hvac_dTempUp"
64                android:textSize="@dimen/hvacTextSize"/>
65
66            <TextView
67                android:gravity="center"
68                android:id="@+id/tvDTemp"
69                android:layout_height="50dp"
70                android:layout_width ="250dp"
71                android:textSize="@dimen/hvacTextSize"/>
72
73            <Button
74                android:clickable="false"
75                android:id="@+id/btnDTempDn"
76                android:layout_height="@dimen/hvacBtnHeight"
77                android:layout_width ="250dp"
78                android:text="@string/hvac_dTempDn"
79                android:textSize="@dimen/hvacTextSize"/>
80        </LinearLayout>
81
82        <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
83                      android:gravity="center"
84                      android:layout_height="match_parent"
85                      android:layout_weight="1"
86                      android:layout_width = "wrap_content"
87                      android:orientation="vertical">
88
89            <Button
90                android:clickable="false"
91                android:id="@+id/btnATempUp"
92                android:layout_height="@dimen/hvacBtnHeight"
93                android:layout_width ="250dp"
94                android:text="@string/hvac_aTempUp"
95                android:textSize="@dimen/hvacTextSize"/>
96
97            <TextView
98                android:gravity="center"
99                android:id="@+id/tvATemp"
100                android:layout_height="50dp"
101                android:layout_width ="250dp"
102                android:textSize="@dimen/hvacTextSize"/>
103
104            <Button
105                android:clickable="false"
106                android:id="@+id/btnATempDn"
107                android:layout_height="@dimen/hvacBtnHeight"
108                android:layout_width ="250dp"
109                android:text="@string/hvac_aTempDn"
110                android:textSize="@dimen/hvacTextSize"/>
111        </LinearLayout>
112
113        <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
114            android:gravity="center"
115            android:layout_height="match_parent"
116            android:layout_weight="1"
117            android:layout_width = "wrap_content"
118            android:orientation="vertical">
119
120            <Button
121                android:clickable="false"
122                android:id="@+id/btnPTempUp"
123                android:layout_height="@dimen/hvacBtnHeight"
124                android:layout_width ="250dp"
125                android:text="@string/hvac_pTempUp"
126                android:textSize="@dimen/hvacTextSize"/>
127
128            <TextView
129                android:gravity="center"
130                android:id="@+id/tvPTemp"
131                android:layout_height="50dp"
132                android:layout_width ="250dp"
133                android:textSize="@dimen/hvacTextSize"/>
134
135            <Button
136                android:clickable="false"
137                android:id="@+id/btnPTempDn"
138                android:layout_height="@dimen/hvacBtnHeight"
139                android:layout_width ="250dp"
140                android:text="@string/hvac_pTempDn"
141                android:textSize="@dimen/hvacTextSize"/>
142        </LinearLayout>
143
144        <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
145                      android:gravity="center"
146                      android:layout_height="match_parent"
147                      android:layout_weight="1"
148                      android:layout_width = "wrap_content"
149                      android:orientation="vertical">
150
151            <Button
152                android:clickable="false"
153                android:id="@+id/btnFanSpeedUp"
154                android:layout_height="@dimen/hvacBtnHeight"
155                android:layout_width ="250dp"
156                android:text="@string/hvac_fanSpeedUp"
157                android:textSize="@dimen/hvacTextSize"/>
158
159            <TextView
160                android:gravity="center"
161                android:id="@+id/tvFanSpeed"
162                android:layout_height="50dp"
163                android:layout_width ="250dp"
164                android:textSize="@dimen/hvacTextSize"/>
165
166            <Button
167                android:clickable="false"
168                android:id="@+id/btnFanSpeedDn"
169                android:layout_height="@dimen/hvacBtnHeight"
170                android:layout_width ="250dp"
171                android:text="@string/hvac_fanSpeedDn"
172                android:textSize="@dimen/hvacTextSize"/>
173        </LinearLayout>
174    </LinearLayout>
175    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
176        android:layout_height="match_parent"
177        android:layout_width="match_parent"
178        android:layout_marginTop="@dimen/hvacBtnMargin"
179        android:orientation="horizontal">
180
181        <RadioGroup xmlns:android="http://schemas.android.com/apk/res/android"
182            android:clickable="false"
183            android:id="@+id/rgFanPosition"
184            android:layout_height="match_parent"
185            android:layout_width="wrap_content"
186            android:orientation="vertical">
187            <RadioButton
188                android:clickable="false"
189                android:id="@+id/rbPositionFace"
190                android:text="@string/hvac_positionFace"
191                android:textSize="@dimen/hvacTextSize"/>
192            <RadioButton
193                android:clickable="false"
194                android:id="@+id/rbPositionFloor"
195                android:text="@string/hvac_positionFloor"
196                android:textSize="@dimen/hvacTextSize"/>
197            <RadioButton
198                android:clickable="false"
199                android:id="@+id/rbPositionFaceAndFloor"
200                android:text="@string/hvac_positionFaceAndFloor"
201                android:textSize="@dimen/hvacTextSize"/>
202            <RadioButton
203                android:clickable="false"
204                android:id="@+id/rbPositionDefrost"
205                android:text="@string/hvac_positionDefrost"
206                android:textSize="@dimen/hvacTextSize"/>
207            <RadioButton
208                android:clickable="false"
209                android:id="@+id/rbPositionDefrostAndFloor"
210                android:text="@string/hvac_positionDefrostAndFloor"
211                android:textSize="@dimen/hvacTextSize"/>
212        </RadioGroup>
213
214        <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
215            android:layout_height="wrap_content"
216            android:layout_width="match_parent"
217            android:layout_marginLeft="@dimen/hvacBtnMargin"
218            android:orientation="vertical">
219
220            <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
221                android:layout_height="wrap_content"
222                android:layout_width="match_parent"
223                android:orientation="horizontal">
224
225                <ToggleButton
226                    android:clickable="false"
227                    android:id="@+id/tbPower"
228                    android:layout_height="@dimen/hvacBtnHeight"
229                    android:layout_weight="1"
230                    android:layout_width ="0dp"
231                    android:textOff="@string/hvac_powerOff"
232                    android:textOn="@string/hvac_powerOn"
233                    android:textSize="@dimen/hvacTextSize"/>
234
235                <ToggleButton
236                    android:clickable="false"
237                    android:id="@+id/tbDefrostFront"
238                    android:layout_height="@dimen/hvacBtnHeight"
239                    android:layout_weight="1"
240                    android:layout_width ="0dp"
241                    android:textOff="@string/hvac_defrostFrontOff"
242                    android:textOn="@string/hvac_defrostFrontOn"
243                    android:textSize="@dimen/hvacTextSize"/>
244
245                <ToggleButton
246                    android:clickable="false"
247                    android:id="@+id/tbDefrostRear"
248                    android:layout_height="@dimen/hvacBtnHeight"
249                    android:layout_weight="1"
250                    android:layout_width ="0dp"
251                    android:textOff="@string/hvac_defrostRearOff"
252                    android:textOn="@string/hvac_defrostRearOn"
253                    android:textSize="@dimen/hvacTextSize"/>
254
255                <ToggleButton
256                    android:clickable="false"
257                    android:id="@+id/tbMaxDefrost"
258                    android:layout_height="@dimen/hvacBtnHeight"
259                    android:layout_weight="1"
260                    android:layout_width ="0dp"
261                    android:textOff="@string/hvac_maxDefrostOff"
262                    android:textOn="@string/hvac_maxDefrostOn"
263                    android:textSize="@dimen/hvacTextSize"/>
264            </LinearLayout>
265            <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
266                android:layout_height="wrap_content"
267                android:layout_width="match_parent"
268                android:layout_marginTop="@dimen/hvacBtnMargin"
269                android:orientation="horizontal">
270
271                <ToggleButton
272                    android:clickable="false"
273                    android:id="@+id/tbAc"
274                    android:layout_height="@dimen/hvacBtnHeight"
275                    android:layout_weight="1"
276                    android:layout_width="0dp"
277                    android:textOff="@string/hvac_acOff"
278                    android:textOn="@string/hvac_acOn"
279                    android:textSize="@dimen/hvacTextSize"/>
280
281                <ToggleButton
282                    android:clickable="false"
283                    android:id="@+id/tbMaxAc"
284                    android:layout_height="@dimen/hvacBtnHeight"
285                    android:layout_weight="1"
286                    android:layout_width ="0dp"
287                    android:textOff="@string/hvac_maxAcOff"
288                    android:textOn="@string/hvac_maxAcOn"
289                    android:textSize="@dimen/hvacTextSize"/>
290
291                <ToggleButton
292                    android:clickable="false"
293                    android:id="@+id/tbDual"
294                    android:layout_height="@dimen/hvacBtnHeight"
295                    android:layout_weight="1"
296                    android:layout_width ="0dp"
297                    android:textOff="@string/hvac_dualOff"
298                    android:textOn="@string/hvac_dualOn"
299                    android:textSize="@dimen/hvacTextSize"/>
300
301                <ToggleButton
302                    android:clickable="false"
303                    android:id="@+id/tbRecirc"
304                    android:layout_height="@dimen/hvacBtnHeight"
305                    android:layout_weight="1"
306                    android:layout_width ="0dp"
307                    android:textOff="@string/hvac_recircOff"
308                    android:textOn="@string/hvac_recircOn"
309                    android:textSize="@dimen/hvacTextSize"/>
310            </LinearLayout>
311            <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
312                          android:layout_height="wrap_content"
313                          android:layout_width="match_parent"
314                          android:layout_marginTop="@dimen/hvacBtnMargin"
315                          android:orientation="horizontal">
316
317                <Button
318                    android:clickable="false"
319                    android:id="@+id/tbPowerAndAc"
320                    android:layout_height="@dimen/hvacBtnHeight"
321                    android:layout_weight="1"
322                    android:layout_width ="0dp"
323                    android:text="@string/hvac_powerAndAcOn"
324                    android:textSize="@dimen/hvacTextSize"/>
325
326                <ToggleButton
327                    android:clickable="false"
328                    android:id="@+id/tbAuto"
329                    android:layout_height="@dimen/hvacBtnHeight"
330                    android:layout_weight="1"
331                    android:layout_width ="0dp"
332                    android:textOff="@string/hvac_autoOff"
333                    android:textOn="@string/hvac_autoOn"
334                    android:textSize="@dimen/hvacTextSize"/>
335
336                <ToggleButton
337                    android:clickable="false"
338                    android:id="@+id/tbAutoRecirc"
339                    android:layout_height="@dimen/hvacBtnHeight"
340                    android:layout_weight="1"
341                    android:layout_width ="0dp"
342                    android:textOff="@string/hvac_autoRecircOff"
343                    android:textOn="@string/hvac_autoRecircOn"
344                    android:textSize="@dimen/hvacTextSize"/>
345
346                <ToggleButton
347                    android:clickable="false"
348                    android:id="@+id/tbTempDisplayUnit"
349                    android:layout_height="@dimen/hvacBtnHeight"
350                    android:layout_weight="1"
351                    android:layout_width ="0dp"
352                    android:textOff="@string/hvac_tempDisplayCelsius"
353                    android:textOn="@string/hvac_tempDisplayFahrenheit"
354                    android:textSize="@dimen/hvacTextSize"/>
355            </LinearLayout>
356        </LinearLayout>
357    </LinearLayout>
358</LinearLayout>
359