Brad Stenning | 92e2835 | 2018-12-18 12:34:59 -0800 | [diff] [blame] | 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 | xmlns:app="http://schemas.android.com/apk/res-auto"> |
| 19 | <!-- Row 1 --> |
| 20 | <com.android.keyguard.NumPadKey |
| 21 | android:id="@+id/key1" |
| 22 | style="@style/NumPadKeyButton" |
| 23 | app:digit="1" /> |
| 24 | <com.android.keyguard.NumPadKey |
| 25 | android:id="@+id/key2" |
| 26 | style="@style/NumPadKeyButton.MiddleColumn" |
| 27 | app:digit="2" /> |
| 28 | <com.android.keyguard.NumPadKey |
| 29 | android:id="@+id/key3" |
| 30 | style="@style/NumPadKeyButton" |
| 31 | app:digit="3" /> |
| 32 | |
| 33 | <!-- Row 2 --> |
| 34 | <com.android.keyguard.NumPadKey |
| 35 | android:id="@+id/key4" |
| 36 | style="@style/NumPadKeyButton" |
| 37 | app:digit="4" /> |
| 38 | <com.android.keyguard.NumPadKey |
| 39 | android:id="@+id/key5" |
| 40 | style="@style/NumPadKeyButton.MiddleColumn" |
| 41 | app:digit="5" /> |
| 42 | <com.android.keyguard.NumPadKey |
| 43 | android:id="@+id/key6" |
| 44 | style="@style/NumPadKeyButton" |
| 45 | app:digit="6" /> |
| 46 | |
| 47 | <!-- Row 3 --> |
| 48 | <com.android.keyguard.NumPadKey |
| 49 | android:id="@+id/key7" |
| 50 | style="@style/NumPadKeyButton" |
| 51 | app:digit="7" /> |
| 52 | <com.android.keyguard.NumPadKey |
| 53 | android:id="@+id/key8" |
| 54 | style="@style/NumPadKeyButton.MiddleColumn" |
| 55 | app:digit="8" /> |
| 56 | <com.android.keyguard.NumPadKey |
| 57 | android:id="@+id/key9" |
| 58 | style="@style/NumPadKeyButton" |
| 59 | app:digit="9" /> |
| 60 | |
| 61 | <!-- Row 4 --> |
| 62 | <ImageButton |
| 63 | android:id="@+id/delete_button" |
| 64 | style="@style/NumPadKeyButton.LastRow" |
| 65 | android:gravity="center_vertical" |
| 66 | android:src="@drawable/ic_backspace" |
| 67 | android:clickable="true" |
| 68 | android:tint="@android:color/white" |
| 69 | android:background="@drawable/ripple_drawable" |
| 70 | android:contentDescription="@string/keyboardview_keycode_delete" /> |
| 71 | <com.android.keyguard.NumPadKey |
| 72 | android:id="@+id/key0" |
| 73 | style="@style/NumPadKeyButton.LastRow.MiddleColumn" |
| 74 | app:digit="0" /> |
| 75 | <ImageButton |
| 76 | android:id="@+id/key_enter" |
| 77 | style="@style/NumPadKeyButton.LastRow" |
| 78 | android:src="@drawable/ic_done" |
| 79 | android:tint="@android:color/white" |
| 80 | android:background="@drawable/ripple_drawable" |
| 81 | android:contentDescription="@string/keyboardview_keycode_enter" /> |
| 82 | </merge> |
| 83 | |