Home | History | Annotate | Download | only in layout
      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 
     34             <Button
     35                 android:clickable="false"
     36                 android:id="@+id/btnDTempUp"
     37                 android:layout_height="100dp"
     38                 android:layout_width ="250dp"
     39                 android:text="@string/hvac_tempUp"
     40                 android:textSize="32sp"/>
     41 
     42             <TextView
     43                 android:gravity="center"
     44                 android:id="@+id/tvDTemp"
     45                 android:layout_height="50dp"
     46                 android:layout_width ="250dp"
     47                 android:textSize="32sp"/>
     48 
     49             <Button
     50                 android:clickable="false"
     51                 android:id="@+id/btnDTempDn"
     52                 android:layout_height="100dp"
     53                 android:layout_width ="250dp"
     54                 android:text="@string/hvac_tempDn"
     55                 android:textSize="32sp"/>
     56         </LinearLayout>
     57 
     58         <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     59             android:gravity="center"
     60             android:layout_height="match_parent"
     61             android:layout_weight="1"
     62             android:layout_width = "wrap_content"
     63             android:orientation="vertical">
     64 
     65             <Button
     66                 android:clickable="false"
     67                 android:id="@+id/btnFanSpeedUp"
     68                 android:layout_height="100dp"
     69                 android:layout_width ="250dp"
     70                 android:text="@string/hvac_fanSpeedUp"
     71                 android:textSize="32sp"/>
     72 
     73             <TextView
     74                 android:gravity="center"
     75                 android:id="@+id/tvFanSpeed"
     76                 android:layout_height="50dp"
     77                 android:layout_width ="250dp"
     78                 android:textSize="32sp"/>
     79 
     80             <Button
     81                 android:clickable="false"
     82                 android:id="@+id/btnFanSpeedDn"
     83                 android:layout_height="100dp"
     84                 android:layout_width ="250dp"
     85                 android:text="@string/hvac_fanSpeedDn"
     86                 android:textSize="32sp"/>
     87         </LinearLayout>
     88 
     89         <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     90             android:gravity="center"
     91             android:layout_height="match_parent"
     92             android:layout_weight="1"
     93             android:layout_width = "wrap_content"
     94             android:orientation="vertical">
     95 
     96             <Button
     97                 android:clickable="false"
     98                 android:id="@+id/btnPTempUp"
     99                 android:layout_height="100dp"
    100                 android:layout_width ="250dp"
    101                 android:text="@string/hvac_tempUp"
    102                 android:textSize="32sp"/>
    103 
    104             <TextView
    105                 android:gravity="center"
    106                 android:id="@+id/tvPTemp"
    107                 android:layout_height="50dp"
    108                 android:layout_width ="250dp"
    109                 android:textSize="32sp"/>
    110 
    111             <Button
    112                 android:clickable="false"
    113                 android:id="@+id/btnPTempDn"
    114                 android:layout_height="100dp"
    115                 android:layout_width ="250dp"
    116                 android:text="@string/hvac_tempDn"
    117                 android:textSize="32sp"/>
    118         </LinearLayout>
    119     </LinearLayout>
    120     <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    121         android:layout_height="wrap_content"
    122         android:layout_width="match_parent"
    123         android:layout_marginTop="25dp"
    124         android:orientation="horizontal">
    125 
    126         <ToggleButton
    127             android:clickable="false"
    128             android:id="@+id/tbDefrostFront"
    129             android:layout_height="100dp"
    130             android:layout_weight="1"
    131             android:layout_width ="150dp"
    132             android:textOff="@string/hvac_defrostFrontOff"
    133             android:textOn="@string/hvac_defrostFrontOn"
    134             android:textSize="32sp"/>
    135 
    136         <RadioGroup xmlns:android="http://schemas.android.com/apk/res/android"
    137             android:clickable="false"
    138             android:id="@+id/rgFanPosition"
    139             android:layout_height="wrap_content"
    140             android:layout_weight="1"
    141             android:layout_width="wrap_content"
    142             android:orientation="vertical">
    143             <RadioButton
    144                 android:clickable="false"
    145                 android:id="@+id/rbPositionFace"
    146                 android:text="@string/hvac_positionFace"
    147                 android:textSize="32sp"/>
    148             <RadioButton
    149                 android:clickable="false"
    150                 android:id="@+id/rbPositionFloor"
    151                 android:text="@string/hvac_positionFloor"
    152                 android:textSize="32sp"/>
    153             <RadioButton
    154                 android:clickable="false"
    155                 android:id="@+id/rbPositionFaceAndFloor"
    156                 android:text="@string/hvac_positionFaceAndFloor"
    157                 android:textSize="32sp"/>
    158         </RadioGroup>
    159 
    160         <ToggleButton
    161             android:clickable="false"
    162             android:id="@+id/tbAc"
    163             android:layout_height="100dp"
    164             android:layout_weight="1"
    165             android:layout_width="150dp"
    166             android:textOff="@string/hvac_acOff"
    167             android:textOn="@string/hvac_acOn"
    168             android:textSize="32sp"/>
    169 
    170         <ToggleButton
    171             android:clickable="false"
    172             android:id="@+id/tbDefrostRear"
    173             android:layout_height="100dp"
    174             android:layout_weight="1"
    175             android:layout_width ="150dp"
    176             android:textOff="@string/hvac_defrostRearOff"
    177             android:textOn="@string/hvac_defrostRearOn"
    178             android:textSize="32sp"/>
    179     </LinearLayout>
    180 </LinearLayout>
    181