1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2018 The Android Open Source Project 3 4Licensed under the Apache License, Version 2.0 (the "License"); 5you may not use this file except in compliance with the License. 6You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10Unless required by applicable law or agreed to in writing, software 11distributed under the License is distributed on an "AS IS" BASIS, 12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13See the License for the specific language governing permissions and 14limitations under the License. 15--> 16<GridLayout xmlns:android="http://schemas.android.com/apk/res/android" 17 android:layout_width="wrap_content" 18 android:layout_height="wrap_content" 19 android:columnCount="@integer/tuner_dialpad_column_count"> 20 21 <!-- Row 1 --> 22 <Button 23 android:id="@+id/manual_tuner_1" 24 android:layout_marginRight="@dimen/dialpad_space_horizontal" 25 android:text="@string/manual_tuner_1" 26 android:tag="1" 27 style="@style/DialpadKeyButtonStyle" /> 28 <Button 29 android:id="@+id/manual_tuner_2" 30 android:layout_marginRight="@dimen/dialpad_space_horizontal" 31 android:text="@string/manual_tuner_2" 32 android:tag="2" 33 style="@style/DialpadKeyButtonStyle" /> 34 <Button 35 android:id="@+id/manual_tuner_3" 36 android:text="@string/manual_tuner_3" 37 android:tag="3" 38 style="@style/DialpadKeyButtonStyle" /> 39 40 <!-- Row 2 --> 41 <Button 42 android:id="@+id/manual_tuner_4" 43 android:layout_marginRight="@dimen/dialpad_space_horizontal" 44 android:text="@string/manual_tuner_4" 45 android:tag="4" 46 style="@style/DialpadKeyButtonStyle" /> 47 <Button 48 android:id="@+id/manual_tuner_5" 49 android:layout_marginRight="@dimen/dialpad_space_horizontal" 50 android:text="@string/manual_tuner_5" 51 android:tag="5" 52 style="@style/DialpadKeyButtonStyle" /> 53 <Button 54 android:id="@+id/manual_tuner_6" 55 android:text="@string/manual_tuner_6" 56 android:tag="6" 57 style="@style/DialpadKeyButtonStyle" /> 58 59 <!-- Row 3 --> 60 <Button 61 android:id="@+id/manual_tuner_7" 62 android:layout_marginRight="@dimen/dialpad_space_horizontal" 63 android:text="@string/manual_tuner_7" 64 android:tag="7" 65 style="@style/DialpadKeyButtonStyle" /> 66 <Button 67 android:id="@+id/manual_tuner_8" 68 android:layout_marginRight="@dimen/dialpad_space_horizontal" 69 android:text="@string/manual_tuner_8" 70 android:tag="8" 71 style="@style/DialpadKeyButtonStyle" /> 72 <Button 73 android:id="@+id/manual_tuner_9" 74 android:text="@string/manual_tuner_9" 75 android:tag="9" 76 style="@style/DialpadKeyButtonStyle" /> 77 78 <!-- Row 4 --> 79 <ImageView 80 android:id="@+id/manual_tuner_backspace" 81 android:layout_marginRight="@dimen/dialpad_space_horizontal" 82 android:scaleType="center" 83 android:src="@drawable/ic_backspace" 84 style="@style/DialpadKeyButtonStyle" /> 85 <Button 86 android:id="@+id/manual_tuner_0" 87 android:layout_marginRight="@dimen/dialpad_space_horizontal" 88 android:text="@string/manual_tuner_0" 89 android:tag="0" 90 style="@style/DialpadKeyButtonStyle" /> 91</GridLayout>