1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2009 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 Contact app. 18 Tall screen version with taller buttons. 19 --> 20 21<com.android.contacts.ButtonGridLayout xmlns:android="http://schemas.android.com/apk/res/android" 22 android:id="@+id/dialpad" 23 android:paddingLeft="7dp" 24 android:paddingRight="7dp" 25 android:paddingTop="6dp" 26 android:paddingBottom="6dp" 27 android:layout_width="wrap_content" 28 android:layout_height="wrap_content" 29 android:layout_gravity="center_horizontal" 30 android:layout_weight="1" 31> 32 <ImageButton android:id="@+id/one" 33 android:layout_width="88dp" 34 android:layout_height="58dp" 35 android:src="@drawable/dial_num_1_no_vm" 36 android:background="@drawable/btn_dial" 37 android:soundEffectsEnabled="false" 38 android:contentDescription="@string/description_image_button_one" 39 /> 40 41 <ImageButton android:id="@+id/two" 42 android:layout_width="88dp" 43 android:layout_height="58dp" 44 android:src="@drawable/dial_num_2" 45 android:background="@drawable/btn_dial" 46 android:soundEffectsEnabled="false" 47 android:contentDescription="@string/description_image_button_two" 48 /> 49 50 <ImageButton android:id="@+id/three" 51 android:layout_width="88dp" 52 android:layout_height="58dp" 53 android:src="@drawable/dial_num_3" 54 android:background="@drawable/btn_dial" 55 android:soundEffectsEnabled="false" 56 android:contentDescription="@string/description_image_button_three" 57 /> 58 59 <ImageButton android:id="@+id/four" 60 android:layout_width="88dp" 61 android:layout_height="58dp" 62 android:src="@drawable/dial_num_4" 63 android:background="@drawable/btn_dial" 64 android:soundEffectsEnabled="false" 65 android:contentDescription="@string/description_image_button_four" 66 /> 67 68 <ImageButton android:id="@+id/five" 69 android:layout_width="88dp" 70 android:layout_height="58dp" 71 android:src="@drawable/dial_num_5" 72 android:background="@drawable/btn_dial" 73 android:soundEffectsEnabled="false" 74 android:contentDescription="@string/description_image_button_five" 75 /> 76 77 <ImageButton android:id="@+id/six" 78 android:layout_width="88dp" 79 android:layout_height="58dp" 80 android:src="@drawable/dial_num_6" 81 android:background="@drawable/btn_dial" 82 android:soundEffectsEnabled="false" 83 android:contentDescription="@string/description_image_button_six" 84 /> 85 86 <ImageButton android:id="@+id/seven" 87 android:layout_width="88dp" 88 android:layout_height="58dp" 89 android:src="@drawable/dial_num_7" 90 android:background="@drawable/btn_dial" 91 android:soundEffectsEnabled="false" 92 android:contentDescription="@string/description_image_button_seven" 93 /> 94 95 <ImageButton android:id="@+id/eight" 96 android:layout_width="88dp" 97 android:layout_height="58dp" 98 android:src="@drawable/dial_num_8" 99 android:background="@drawable/btn_dial" 100 android:soundEffectsEnabled="false" 101 android:contentDescription="@string/description_image_button_eight" 102 /> 103 104 <ImageButton android:id="@+id/nine" 105 android:layout_width="88dp" 106 android:layout_height="58dp" 107 android:src="@drawable/dial_num_9" 108 android:background="@drawable/btn_dial" 109 android:soundEffectsEnabled="false" 110 android:contentDescription="@string/description_image_button_nine" 111 /> 112 113 <ImageButton android:id="@+id/star" 114 android:layout_width="88dp" 115 android:layout_height="58dp" 116 android:src="@drawable/dial_num_star" 117 android:background="@drawable/btn_dial" 118 android:soundEffectsEnabled="false" 119 android:contentDescription="@string/description_image_button_star" 120 /> 121 122 <ImageButton android:id="@+id/zero" 123 android:layout_width="88dp" 124 android:layout_height="58dp" 125 android:src="@drawable/dial_num_0" 126 android:background="@drawable/btn_dial" 127 android:soundEffectsEnabled="false" 128 android:contentDescription="@string/description_image_button_zero" 129 /> 130 131 <ImageButton android:id="@+id/pound" 132 android:layout_width="88dp" 133 android:layout_height="58dp" 134 android:src="@drawable/dial_num_pound" 135 android:background="@drawable/btn_dial" 136 android:soundEffectsEnabled="false" 137 android:contentDescription="@string/description_image_button_pound" 138 /> 139</com.android.contacts.ButtonGridLayout> 140