blob: 8306cb4a708afabc2fe171196c04dd6e4aa03b7b [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (C) 2018 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License
-->
<merge xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<!-- Row 1 -->
<com.android.keyguard.NumPadKey
android:id="@+id/key1"
style="@style/NumPadKeyButton"
app:digit="1" />
<com.android.keyguard.NumPadKey
android:id="@+id/key2"
style="@style/NumPadKeyButton.MiddleColumn"
app:digit="2" />
<com.android.keyguard.NumPadKey
android:id="@+id/key3"
style="@style/NumPadKeyButton"
app:digit="3" />
<!-- Row 2 -->
<com.android.keyguard.NumPadKey
android:id="@+id/key4"
style="@style/NumPadKeyButton"
app:digit="4" />
<com.android.keyguard.NumPadKey
android:id="@+id/key5"
style="@style/NumPadKeyButton.MiddleColumn"
app:digit="5" />
<com.android.keyguard.NumPadKey
android:id="@+id/key6"
style="@style/NumPadKeyButton"
app:digit="6" />
<!-- Row 3 -->
<com.android.keyguard.NumPadKey
android:id="@+id/key7"
style="@style/NumPadKeyButton"
app:digit="7" />
<com.android.keyguard.NumPadKey
android:id="@+id/key8"
style="@style/NumPadKeyButton.MiddleColumn"
app:digit="8" />
<com.android.keyguard.NumPadKey
android:id="@+id/key9"
style="@style/NumPadKeyButton"
app:digit="9" />
<!-- Row 4 -->
<ImageButton
android:id="@+id/delete_button"
style="@style/NumPadKeyButton.LastRow"
android:gravity="center_vertical"
android:src="@drawable/ic_backspace"
android:clickable="true"
android:tint="@android:color/white"
android:background="@drawable/ripple_drawable"
android:contentDescription="@string/keyboardview_keycode_delete" />
<com.android.keyguard.NumPadKey
android:id="@+id/key0"
style="@style/NumPadKeyButton.LastRow.MiddleColumn"
app:digit="0" />
<ImageButton
android:id="@+id/key_enter"
style="@style/NumPadKeyButton.LastRow"
android:src="@drawable/ic_done"
android:tint="@android:color/white"
android:background="@drawable/ripple_drawable"
android:contentDescription="@string/keyboardview_keycode_enter" />
</merge>