1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2023 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<!-- This file is copied from packages/apps/Car/Settings/res/layout/pin_pad_view.xml --> 18<merge xmlns:android="http://schemas.android.com/apk/res/android"> 19 <!-- Row 1 --> 20 <Button 21 android:id="@+id/key1" 22 style="@style/PinPadKey" 23 android:layout_width="@dimen/pin_pad_key_width" 24 android:layout_height="@dimen/pin_pad_key_height" 25 android:layout_margin="@dimen/pin_pad_key_margin" 26 android:tag="1" 27 android:text="@string/one"/> 28 <Button 29 android:id="@+id/key2" 30 style="@style/PinPadKey" 31 android:layout_width="@dimen/pin_pad_key_width" 32 android:layout_height="@dimen/pin_pad_key_height" 33 android:layout_margin="@dimen/pin_pad_key_margin" 34 android:tag="2" 35 android:text="@string/two"/> 36 <Button 37 android:id="@+id/key3" 38 style="@style/PinPadKey" 39 android:layout_width="@dimen/pin_pad_key_width" 40 android:layout_height="@dimen/pin_pad_key_height" 41 android:layout_margin="@dimen/pin_pad_key_margin" 42 android:tag="3" 43 android:text="@string/three"/> 44 <!-- Row 2 --> 45 <Button 46 android:id="@+id/key4" 47 style="@style/PinPadKey" 48 android:layout_width="@dimen/pin_pad_key_width" 49 android:layout_height="@dimen/pin_pad_key_height" 50 android:layout_margin="@dimen/pin_pad_key_margin" 51 android:tag="4" 52 android:text="@string/four"/> 53 <Button 54 android:id="@+id/key5" 55 style="@style/PinPadKey" 56 android:layout_width="@dimen/pin_pad_key_width" 57 android:layout_height="@dimen/pin_pad_key_height" 58 android:layout_margin="@dimen/pin_pad_key_margin" 59 android:tag="5" 60 android:text="@string/five"/> 61 <Button 62 android:id="@+id/key6" 63 style="@style/PinPadKey" 64 android:layout_width="@dimen/pin_pad_key_width" 65 android:layout_height="@dimen/pin_pad_key_height" 66 android:layout_margin="@dimen/pin_pad_key_margin" 67 android:tag="6" 68 android:text="@string/six"/> 69 <!-- Row 3 --> 70 <Button 71 android:id="@+id/key7" 72 style="@style/PinPadKey" 73 android:layout_width="@dimen/pin_pad_key_width" 74 android:layout_height="@dimen/pin_pad_key_height" 75 android:layout_margin="@dimen/pin_pad_key_margin" 76 android:tag="7" 77 android:text="@string/seven"/> 78 <Button 79 android:id="@+id/key8" 80 style="@style/PinPadKey" 81 android:layout_width="@dimen/pin_pad_key_width" 82 android:layout_height="@dimen/pin_pad_key_height" 83 android:layout_margin="@dimen/pin_pad_key_margin" 84 android:tag="8" 85 android:text="@string/eight"/> 86 <Button 87 android:id="@+id/key9" 88 style="@style/PinPadKey" 89 android:layout_width="@dimen/pin_pad_key_width" 90 android:layout_height="@dimen/pin_pad_key_height" 91 android:layout_margin="@dimen/pin_pad_key_margin" 92 android:tag="9" 93 android:text="@string/nine"/> 94 <!-- Row 4 --> 95 <ImageButton 96 android:id="@+id/key_backspace" 97 style="@style/PinPadKey" 98 android:layout_width="@dimen/pin_pad_key_width" 99 android:layout_height="@dimen/pin_pad_key_height" 100 android:layout_margin="@dimen/pin_pad_key_margin" 101 android:contentDescription="@string/backspace_key" 102 android:background="@color/pin_pad_icon_background_color" 103 android:src="@drawable/ic_backspace"/> 104 <Button 105 android:id="@+id/key0" 106 style="@style/PinPadKey" 107 android:layout_width="@dimen/pin_pad_key_width" 108 android:layout_height="@dimen/pin_pad_key_height" 109 android:layout_margin="@dimen/pin_pad_key_margin" 110 android:tag="0" 111 android:text="@string/zero"/> 112 <ImageButton 113 android:id="@+id/key_enter" 114 style="@style/PinPadKey" 115 android:layout_width="@dimen/pin_pad_key_width" 116 android:layout_height="@dimen/pin_pad_key_height" 117 android:layout_margin="@dimen/pin_pad_key_margin" 118 android:contentDescription="@string/enter_key" 119 android:background="@color/pin_pad_icon_background_color" 120 android:src="@drawable/ic_check"/> 121</merge> 122