359 lines
15 KiB
XML
359 lines
15 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2015 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:gravity="center"
|
|
android:layout_height="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="match_parent"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:orientation="vertical"
|
|
android:gravity="center"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:layout_width = "wrap_content">
|
|
<TextView
|
|
android:gravity="bottom"
|
|
android:id="@+id/tvOutsideTempLabel"
|
|
android:layout_height="120dp"
|
|
android:layout_width ="250dp"
|
|
android:layout_weight="1"
|
|
android:text="@string/hvac_outsideTempLabel"
|
|
android:textSize="@dimen/hvacTextSize"/>
|
|
|
|
<TextView
|
|
android:gravity="center"
|
|
android:id="@+id/tvOutsideTemp"
|
|
android:layout_height="50dp"
|
|
android:layout_width ="250dp"
|
|
android:layout_weight="1"
|
|
android:textSize="@dimen/hvacTextSize"/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:orientation="vertical"
|
|
android:gravity="center"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:layout_width = "wrap_content">
|
|
|
|
<Button
|
|
android:clickable="false"
|
|
android:id="@+id/btnDTempUp"
|
|
android:layout_height="@dimen/hvacBtnHeight"
|
|
android:layout_width ="250dp"
|
|
android:text="@string/hvac_dTempUp"
|
|
android:textSize="@dimen/hvacTextSize"/>
|
|
|
|
<TextView
|
|
android:gravity="center"
|
|
android:id="@+id/tvDTemp"
|
|
android:layout_height="50dp"
|
|
android:layout_width ="250dp"
|
|
android:textSize="@dimen/hvacTextSize"/>
|
|
|
|
<Button
|
|
android:clickable="false"
|
|
android:id="@+id/btnDTempDn"
|
|
android:layout_height="@dimen/hvacBtnHeight"
|
|
android:layout_width ="250dp"
|
|
android:text="@string/hvac_dTempDn"
|
|
android:textSize="@dimen/hvacTextSize"/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:gravity="center"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:layout_width = "wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<Button
|
|
android:clickable="false"
|
|
android:id="@+id/btnATempUp"
|
|
android:layout_height="@dimen/hvacBtnHeight"
|
|
android:layout_width ="250dp"
|
|
android:text="@string/hvac_aTempUp"
|
|
android:textSize="@dimen/hvacTextSize"/>
|
|
|
|
<TextView
|
|
android:gravity="center"
|
|
android:id="@+id/tvATemp"
|
|
android:layout_height="50dp"
|
|
android:layout_width ="250dp"
|
|
android:textSize="@dimen/hvacTextSize"/>
|
|
|
|
<Button
|
|
android:clickable="false"
|
|
android:id="@+id/btnATempDn"
|
|
android:layout_height="@dimen/hvacBtnHeight"
|
|
android:layout_width ="250dp"
|
|
android:text="@string/hvac_aTempDn"
|
|
android:textSize="@dimen/hvacTextSize"/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:gravity="center"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:layout_width = "wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<Button
|
|
android:clickable="false"
|
|
android:id="@+id/btnPTempUp"
|
|
android:layout_height="@dimen/hvacBtnHeight"
|
|
android:layout_width ="250dp"
|
|
android:text="@string/hvac_pTempUp"
|
|
android:textSize="@dimen/hvacTextSize"/>
|
|
|
|
<TextView
|
|
android:gravity="center"
|
|
android:id="@+id/tvPTemp"
|
|
android:layout_height="50dp"
|
|
android:layout_width ="250dp"
|
|
android:textSize="@dimen/hvacTextSize"/>
|
|
|
|
<Button
|
|
android:clickable="false"
|
|
android:id="@+id/btnPTempDn"
|
|
android:layout_height="@dimen/hvacBtnHeight"
|
|
android:layout_width ="250dp"
|
|
android:text="@string/hvac_pTempDn"
|
|
android:textSize="@dimen/hvacTextSize"/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:gravity="center"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:layout_width = "wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<Button
|
|
android:clickable="false"
|
|
android:id="@+id/btnFanSpeedUp"
|
|
android:layout_height="@dimen/hvacBtnHeight"
|
|
android:layout_width ="250dp"
|
|
android:text="@string/hvac_fanSpeedUp"
|
|
android:textSize="@dimen/hvacTextSize"/>
|
|
|
|
<TextView
|
|
android:gravity="center"
|
|
android:id="@+id/tvFanSpeed"
|
|
android:layout_height="50dp"
|
|
android:layout_width ="250dp"
|
|
android:textSize="@dimen/hvacTextSize"/>
|
|
|
|
<Button
|
|
android:clickable="false"
|
|
android:id="@+id/btnFanSpeedDn"
|
|
android:layout_height="@dimen/hvacBtnHeight"
|
|
android:layout_width ="250dp"
|
|
android:text="@string/hvac_fanSpeedDn"
|
|
android:textSize="@dimen/hvacTextSize"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_height="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_marginTop="@dimen/hvacBtnMargin"
|
|
android:orientation="horizontal">
|
|
|
|
<RadioGroup xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:clickable="false"
|
|
android:id="@+id/rgFanPosition"
|
|
android:layout_height="match_parent"
|
|
android:layout_width="wrap_content"
|
|
android:orientation="vertical">
|
|
<RadioButton
|
|
android:clickable="false"
|
|
android:id="@+id/rbPositionFace"
|
|
android:text="@string/hvac_positionFace"
|
|
android:textSize="@dimen/hvacTextSize"/>
|
|
<RadioButton
|
|
android:clickable="false"
|
|
android:id="@+id/rbPositionFloor"
|
|
android:text="@string/hvac_positionFloor"
|
|
android:textSize="@dimen/hvacTextSize"/>
|
|
<RadioButton
|
|
android:clickable="false"
|
|
android:id="@+id/rbPositionFaceAndFloor"
|
|
android:text="@string/hvac_positionFaceAndFloor"
|
|
android:textSize="@dimen/hvacTextSize"/>
|
|
<RadioButton
|
|
android:clickable="false"
|
|
android:id="@+id/rbPositionDefrost"
|
|
android:text="@string/hvac_positionDefrost"
|
|
android:textSize="@dimen/hvacTextSize"/>
|
|
<RadioButton
|
|
android:clickable="false"
|
|
android:id="@+id/rbPositionDefrostAndFloor"
|
|
android:text="@string/hvac_positionDefrostAndFloor"
|
|
android:textSize="@dimen/hvacTextSize"/>
|
|
</RadioGroup>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="match_parent"
|
|
android:layout_marginLeft="@dimen/hvacBtnMargin"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="match_parent"
|
|
android:orientation="horizontal">
|
|
|
|
<ToggleButton
|
|
android:clickable="false"
|
|
android:id="@+id/tbPower"
|
|
android:layout_height="@dimen/hvacBtnHeight"
|
|
android:layout_weight="1"
|
|
android:layout_width ="0dp"
|
|
android:textOff="@string/hvac_powerOff"
|
|
android:textOn="@string/hvac_powerOn"
|
|
android:textSize="@dimen/hvacTextSize"/>
|
|
|
|
<ToggleButton
|
|
android:clickable="false"
|
|
android:id="@+id/tbDefrostFront"
|
|
android:layout_height="@dimen/hvacBtnHeight"
|
|
android:layout_weight="1"
|
|
android:layout_width ="0dp"
|
|
android:textOff="@string/hvac_defrostFrontOff"
|
|
android:textOn="@string/hvac_defrostFrontOn"
|
|
android:textSize="@dimen/hvacTextSize"/>
|
|
|
|
<ToggleButton
|
|
android:clickable="false"
|
|
android:id="@+id/tbDefrostRear"
|
|
android:layout_height="@dimen/hvacBtnHeight"
|
|
android:layout_weight="1"
|
|
android:layout_width ="0dp"
|
|
android:textOff="@string/hvac_defrostRearOff"
|
|
android:textOn="@string/hvac_defrostRearOn"
|
|
android:textSize="@dimen/hvacTextSize"/>
|
|
|
|
<ToggleButton
|
|
android:clickable="false"
|
|
android:id="@+id/tbMaxDefrost"
|
|
android:layout_height="@dimen/hvacBtnHeight"
|
|
android:layout_weight="1"
|
|
android:layout_width ="0dp"
|
|
android:textOff="@string/hvac_maxDefrostOff"
|
|
android:textOn="@string/hvac_maxDefrostOn"
|
|
android:textSize="@dimen/hvacTextSize"/>
|
|
</LinearLayout>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="match_parent"
|
|
android:layout_marginTop="@dimen/hvacBtnMargin"
|
|
android:orientation="horizontal">
|
|
|
|
<ToggleButton
|
|
android:clickable="false"
|
|
android:id="@+id/tbAc"
|
|
android:layout_height="@dimen/hvacBtnHeight"
|
|
android:layout_weight="1"
|
|
android:layout_width="0dp"
|
|
android:textOff="@string/hvac_acOff"
|
|
android:textOn="@string/hvac_acOn"
|
|
android:textSize="@dimen/hvacTextSize"/>
|
|
|
|
<ToggleButton
|
|
android:clickable="false"
|
|
android:id="@+id/tbMaxAc"
|
|
android:layout_height="@dimen/hvacBtnHeight"
|
|
android:layout_weight="1"
|
|
android:layout_width ="0dp"
|
|
android:textOff="@string/hvac_maxAcOff"
|
|
android:textOn="@string/hvac_maxAcOn"
|
|
android:textSize="@dimen/hvacTextSize"/>
|
|
|
|
<ToggleButton
|
|
android:clickable="false"
|
|
android:id="@+id/tbDual"
|
|
android:layout_height="@dimen/hvacBtnHeight"
|
|
android:layout_weight="1"
|
|
android:layout_width ="0dp"
|
|
android:textOff="@string/hvac_dualOff"
|
|
android:textOn="@string/hvac_dualOn"
|
|
android:textSize="@dimen/hvacTextSize"/>
|
|
|
|
<ToggleButton
|
|
android:clickable="false"
|
|
android:id="@+id/tbRecirc"
|
|
android:layout_height="@dimen/hvacBtnHeight"
|
|
android:layout_weight="1"
|
|
android:layout_width ="0dp"
|
|
android:textOff="@string/hvac_recircOff"
|
|
android:textOn="@string/hvac_recircOn"
|
|
android:textSize="@dimen/hvacTextSize"/>
|
|
</LinearLayout>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="match_parent"
|
|
android:layout_marginTop="@dimen/hvacBtnMargin"
|
|
android:orientation="horizontal">
|
|
|
|
<Button
|
|
android:clickable="false"
|
|
android:id="@+id/tbPowerAndAc"
|
|
android:layout_height="@dimen/hvacBtnHeight"
|
|
android:layout_weight="1"
|
|
android:layout_width ="0dp"
|
|
android:text="@string/hvac_powerAndAcOn"
|
|
android:textSize="@dimen/hvacTextSize"/>
|
|
|
|
<ToggleButton
|
|
android:clickable="false"
|
|
android:id="@+id/tbAuto"
|
|
android:layout_height="@dimen/hvacBtnHeight"
|
|
android:layout_weight="1"
|
|
android:layout_width ="0dp"
|
|
android:textOff="@string/hvac_autoOff"
|
|
android:textOn="@string/hvac_autoOn"
|
|
android:textSize="@dimen/hvacTextSize"/>
|
|
|
|
<ToggleButton
|
|
android:clickable="false"
|
|
android:id="@+id/tbAutoRecirc"
|
|
android:layout_height="@dimen/hvacBtnHeight"
|
|
android:layout_weight="1"
|
|
android:layout_width ="0dp"
|
|
android:textOff="@string/hvac_autoRecircOff"
|
|
android:textOn="@string/hvac_autoRecircOn"
|
|
android:textSize="@dimen/hvacTextSize"/>
|
|
|
|
<ToggleButton
|
|
android:clickable="false"
|
|
android:id="@+id/tbTempDisplayUnit"
|
|
android:layout_height="@dimen/hvacBtnHeight"
|
|
android:layout_weight="1"
|
|
android:layout_width ="0dp"
|
|
android:textOff="@string/hvac_tempDisplayCelsius"
|
|
android:textOn="@string/hvac_tempDisplayFahrenheit"
|
|
android:textSize="@dimen/hvacTextSize"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|