Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2018 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 
     17 <merge xmlns:android="http://schemas.android.com/apk/res/android">
     18     <!-- Row 1 -->
     19     <Button
     20         android:id="@+id/key1"
     21         style="@style/PinPadKey"
     22         android:text="@string/one"
     23         android:tag="1"/>
     24     <Button
     25         android:id="@+id/key2"
     26         style="@style/PinPadKey"
     27         android:text="@string/two"
     28         android:tag="2"/>
     29     <Button
     30         android:id="@+id/key3"
     31         style="@style/PinPadKey"
     32         android:text="@string/three"
     33         android:tag="3"/>
     34 
     35     <!-- Row 2 -->
     36     <Button
     37         android:id="@+id/key4"
     38         style="@style/PinPadKey"
     39         android:text="@string/four"
     40         android:tag="4"/>
     41     <Button
     42         android:id="@+id/key5"
     43         style="@style/PinPadKey"
     44         android:text="@string/five"
     45         android:tag="5"/>
     46     <Button
     47         android:id="@+id/key6"
     48         style="@style/PinPadKey"
     49         android:text="@string/six"
     50         android:tag="6"/>
     51 
     52     <!-- Row 3 -->
     53     <Button
     54         android:id="@+id/key7"
     55         style="@style/PinPadKey"
     56         android:text="@string/seven"
     57         android:tag="7"/>
     58     <Button
     59         android:id="@+id/key8"
     60         style="@style/PinPadKey"
     61         android:text="@string/eight"
     62         android:tag="8"/>
     63     <Button
     64         android:id="@+id/key9"
     65         style="@style/PinPadKey"
     66         android:text="@string/nine"
     67         android:tag="9"/>
     68 
     69     <!-- Row 4 -->
     70     <ImageButton
     71         android:id="@+id/key_backspace"
     72         style="@style/PinPadKey"
     73         android:src="@drawable/ic_backspace"
     74         android:tint="@color/car_body3"
     75         android:contentDescription="@string/backspace_key"/>
     76     <Button
     77         android:id="@+id/key0"
     78         style="@style/PinPadKey"
     79         android:text="@string/zero"
     80         android:tag="0"/>
     81     <ImageButton
     82         android:id="@+id/key_enter"
     83         style="@style/PinPadKey"
     84         android:contentDescription="@string/enter_key"/>
     85 </merge>