1<?xml version="1.0" encoding="UTF-8" ?> 2<!-- 3 ~ Copyright (C) 2020 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License. 16 --> 17 18<LinearLayout 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 android:layout_width="wrap_content" 21 android:layout_height="wrap_content" 22 android:orientation="horizontal" 23 android:gravity="center_vertical" 24 android:paddingEnd="@dimen/hvac_container_padding" 25 android:paddingStart="@dimen/hvac_container_padding"> 26 27 <ImageView 28 android:id="@+id/hvac_decrease_button" 29 android:layout_width="@dimen/hvac_temperature_button_size" 30 android:layout_height="@dimen/hvac_temperature_button_size" 31 android:background="@drawable/system_bar_button_background" 32 android:scaleType="center" 33 android:src="@drawable/hvac_decrease_button"/> 34 35 <TextView 36 android:id="@+id/hvac_temperature_text" 37 android:layout_width="wrap_content" 38 android:layout_height="match_parent" 39 android:gravity="center" 40 android:paddingEnd="@dimen/hvac_temperature_text_padding" 41 android:paddingStart="@dimen/hvac_temperature_text_padding" 42 android:textColor="@color/system_bar_text_color" 43 android:textSize="@dimen/hvac_temperature_text_size"/> 44 45 <ImageView 46 android:id="@+id/hvac_increase_button" 47 android:layout_width="@dimen/hvac_temperature_button_size" 48 android:layout_height="@dimen/hvac_temperature_button_size" 49 android:background="@drawable/system_bar_button_background" 50 android:scaleType="center" 51 android:src="@drawable/hvac_increase_button"/> 52</LinearLayout>