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