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 <com.android.phone.ButtonGridLayout xmlns:android="http://schemas.android.com/apk/res/android" 18 android:id="@+id/dialpad" 19 android:paddingLeft="7dp" 20 android:paddingRight="7dp" 21 android:paddingTop="6dp" 22 android:paddingBottom="6dp" 23 android:layout_width="wrap_content" 24 android:layout_height="wrap_content" 25 android:layout_gravity="center_horizontal" 26 android:layout_weight="1" 27 > 28 <ImageButton android:id="@+id/one" 29 android:layout_width="88dp" 30 android:layout_height="50dp" 31 android:src="@drawable/dial_num_1_no_vm" 32 android:background="@drawable/btn_dial" 33 /> 34 35 <ImageButton android:id="@+id/two" 36 android:layout_width="88dp" 37 android:layout_height="50dp" 38 android:src="@drawable/dial_num_2" 39 android:background="@drawable/btn_dial" 40 /> 41 42 <ImageButton android:id="@+id/three" 43 android:layout_width="88dp" 44 android:layout_height="50dp" 45 android:src="@drawable/dial_num_3" 46 android:background="@drawable/btn_dial" 47 /> 48 49 <ImageButton android:id="@+id/four" 50 android:layout_width="88dp" 51 android:layout_height="50dp" 52 android:src="@drawable/dial_num_4" 53 android:background="@drawable/btn_dial" 54 /> 55 56 <ImageButton android:id="@+id/five" 57 android:layout_width="88dp" 58 android:layout_height="50dp" 59 android:src="@drawable/dial_num_5" 60 android:background="@drawable/btn_dial" 61 /> 62 63 <ImageButton android:id="@+id/six" 64 android:layout_width="88dp" 65 android:layout_height="50dp" 66 android:src="@drawable/dial_num_6" 67 android:background="@drawable/btn_dial" 68 /> 69 70 <ImageButton android:id="@+id/seven" 71 android:layout_width="88dp" 72 android:layout_height="50dp" 73 android:src="@drawable/dial_num_7" 74 android:background="@drawable/btn_dial" 75 /> 76 77 <ImageButton android:id="@+id/eight" 78 android:layout_width="88dp" 79 android:layout_height="50dp" 80 android:src="@drawable/dial_num_8" 81 android:background="@drawable/btn_dial" 82 /> 83 84 <ImageButton android:id="@+id/nine" 85 android:layout_width="88dp" 86 android:layout_height="50dp" 87 android:src="@drawable/dial_num_9" 88 android:background="@drawable/btn_dial" 89 /> 90 91 <ImageButton android:id="@+id/star" 92 android:layout_width="88dp" 93 android:layout_height="50dp" 94 android:src="@drawable/dial_num_star" 95 android:background="@drawable/btn_dial" 96 /> 97 98 <ImageButton android:id="@+id/zero" 99 android:layout_width="88dp" 100 android:layout_height="50dp" 101 android:src="@drawable/dial_num_0" 102 android:background="@drawable/btn_dial" 103 /> 104 105 <ImageButton android:id="@+id/pound" 106 android:layout_width="88dp" 107 android:layout_height="50dp" 108 android:src="@drawable/dial_num_pound" 109 android:background="@drawable/btn_dial" 110 /> 111 </com.android.phone.ButtonGridLayout> 112 113