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 <!-- Dialpad in the Phone app. --> 18 <TableLayout 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 android:id="@+id/dialpad" 21 android:layout_width="match_parent" 22 android:layout_height="wrap_content" 23 android:paddingLeft="5dp" 24 android:paddingRight="5dp" 25 android:stretchColumns="*" 26 android:layoutDirection="ltr" > 27 28 <TableRow> 29 <com.android.dialer.dialpad.DialpadKeyButton 30 android:id="@+id/one" 31 style="@style/DialpadKeyButtonStyle"> 32 <LinearLayout 33 style="@style/DialpadKeyInternalLayoutStyle"> 34 <TextView 35 android:id="@+id/dialpad_key_number" 36 style="@style/DialpadKeyNumberStyle"/> 37 <ImageView 38 android:id="@+id/dialpad_key_voicemail" 39 style="@style/DialpadKeyLettersStyle" 40 android:src="@drawable/ic_dial_action_vm" 41 android:scaleType="fitStart" 42 android:baselineAlignBottom="true" /> 43 </LinearLayout> 44 </com.android.dialer.dialpad.DialpadKeyButton> 45 <include layout="@layout/dialpad_key" android:id="@+id/two"/> 46 <include layout="@layout/dialpad_key" android:id="@+id/three"/> 47 </TableRow> 48 49 <TableRow> 50 <include layout="@layout/dialpad_key" android:id="@+id/four"/> 51 <include layout="@layout/dialpad_key" android:id="@+id/five"/> 52 <include layout="@layout/dialpad_key" android:id="@+id/six"/> 53 </TableRow> 54 55 <TableRow> 56 <include layout="@layout/dialpad_key" android:id="@+id/seven"/> 57 <include layout="@layout/dialpad_key" android:id="@+id/eight"/> 58 <include layout="@layout/dialpad_key" android:id="@+id/nine"/> 59 </TableRow> 60 61 <TableRow> 62 <com.android.dialer.dialpad.DialpadKeyButton 63 android:id="@+id/star" 64 style="@style/DialpadKeyButtonStyle"> 65 <LinearLayout 66 style="@style/DialpadKeyInternalLayoutStyle"> 67 <TextView 68 android:id="@id/dialpad_key_number" 69 style="@style/DialpadKeyStarPoundStyle" /> 70 <View 71 android:layout_height="match_parent" 72 android:layout_width="@dimen/dialpad_key_letters_width" /> 73 </LinearLayout> 74 </com.android.dialer.dialpad.DialpadKeyButton> 75 <include layout="@layout/dialpad_key" android:id="@+id/zero"/> 76 <com.android.dialer.dialpad.DialpadKeyButton 77 android:id="@+id/pound" 78 style="@style/DialpadKeyButtonStyle"> 79 <LinearLayout 80 style="@style/DialpadKeyInternalLayoutStyle"> 81 <TextView 82 android:id="@id/dialpad_key_number" 83 style="@style/DialpadKeyStarPoundStyle" /> 84 <View 85 android:layout_height="match_parent" 86 android:layout_width="@dimen/dialpad_key_letters_width" /> 87 </LinearLayout> 88 </com.android.dialer.dialpad.DialpadKeyButton> 89 </TableRow> 90 </TableLayout> 91