1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2006 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<!-- A layout representing key "1" in the dialpad -->
18<com.android.dialer.dialpadview.DialpadKeyButton
19    xmlns:android="http://schemas.android.com/apk/res/android"
20    android:id="@+id/one"
21    style="@style/DialpadKeyButtonStyle">
22
23  <LinearLayout
24      android:id="@+id/dialpad_key_layout"
25      style="@style/DialpadKeyInternalLayoutStyle">
26
27    <com.android.dialer.dialpadview.DialpadTextView
28        android:id="@+id/dialpad_key_number"
29        style="@style/DialpadKeyNumberStyle"/>
30
31    <LinearLayout
32        android:id="@+id/dialpad_key_icon_or_letters_layout"
33        style="@style/DialpadKeyInternalLayoutStyle">
34
35      <!--
36          A placeholder to make the horizontal center line of the voice mail icon lined up with
37          those of the other buttons in the same row
38      -->
39      <View
40          android:layout_width="match_parent"
41          android:layout_height="1dp"/>
42
43      <ImageView
44          android:id="@+id/dialpad_key_voicemail"
45          android:layout_width="wrap_content"
46          android:layout_height="@dimen/dialpad_voicemail_icon_size"
47          android:scaleType="fitCenter"
48          android:src="@drawable/quantum_ic_voicemail_white_24"
49          android:tint="?colorIcon"/>
50    </LinearLayout>
51  </LinearLayout>
52</com.android.dialer.dialpadview.DialpadKeyButton>
53