1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2006 The Android Open Source Project
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
8 http://www.apache.org/licenses/LICENSE-2.0
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.
17 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
19 android:layout_width="fill_parent"
20 android:layout_height="fill_parent"
21 android:orientation="vertical"
23 <LinearLayout android:id="@+id/digitsAndBackspace"
24 android:layout_width="fill_parent"
25 android:layout_height="66px"
26 android:addStatesFromChildren="true"
27 android:gravity="center_vertical"
28 android:baselineAligned="false"
29 android:layout_marginTop="3px"
30 android:layout_marginBottom="5px"
31 android:layout_marginLeft="3px"
32 android:layout_marginRight="3px"
35 <EditText android:id="@+id/digits"
36 android:layout_width="0dip"
37 android:layout_weight="1"
38 android:layout_height="66px"
40 android:scrollHorizontally="true"
41 android:textSize="28sp"
42 android:freezesText="true"
43 android:background="@drawable/btn_dial_textfield"
44 android:textColor="@color/dialer_button_text"
45 android:hint="@string/dialerKeyboardHintText"
49 The button goes at the right.
51 <ImageButton android:id="@+id/backspace"
52 style="@android:style/Widget.Button.Inset"
53 android:src="@drawable/ic_delete_phone_number"
54 android:layout_width="wrap_content"
55 android:layout_height="66px"
56 android:background="@drawable/btn_dial_delete"
57 android:gravity="center"
62 <!-- "Dialpad chooser" UI, shown only when the user brings up the
63 Dialer while a call is already in progress.
64 When this UI is visible, the other Dialer elements
65 (the textfield and button) are hidden. -->
66 <ListView android:id="@+id/dialpadChooser"
67 android:layout_width="fill_parent"
68 android:layout_height="wrap_content"
69 android:footerDividersEnabled="true"