blob: 071ca57fe756aa3f6f614ea138afd236eb547adc [file] [log] [blame]
The Android Open Source Project5dc3b4f2008-10-21 07:00:00 -07001<?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<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18 android:id="@+id/top"
19 android:layout_width="fill_parent"
20 android:layout_height="fill_parent"
21 android:orientation="vertical"
22>
The Android Open Source Projectd9351702008-12-17 18:05:55 -080023 <LinearLayout android:id="@+id/digitsAndBackspace"
The Android Open Source Project5dc3b4f2008-10-21 07:00:00 -070024 android:layout_width="fill_parent"
25 android:layout_height="66px"
26 android:layout_marginTop="3px"
27 android:layout_marginBottom="5px"
28 android:layout_marginLeft="3px"
29 android:layout_marginRight="3px"
30 android:orientation="horizontal"
31 >
32
33 <EditText android:id="@+id/digits"
34 android:layout_width="0dip"
35 android:layout_weight="1"
36 android:layout_height="66px"
37 android:maxLines="1"
38 android:scrollHorizontally="true"
39 android:textSize="28sp"
40 android:freezesText="true"
41 android:background="@drawable/btn_dial_textfield"
42 android:textColor="@color/dialer_button_text"
43 android:focusableInTouchMode="false"
44 android:nextFocusRight="@+id/backspace"
45 />
46
47 <ImageButton android:id="@+id/backspace"
48 style="@android:style/Widget.Button.Inset"
49 android:layout_width="wrap_content"
50 android:layout_height="66px"
51 android:background="@drawable/btn_dial_delete"
52 android:src="@drawable/ic_delete_phone_number"
53 android:gravity="center"
54 />
55
56 </LinearLayout>
57
58 <!-- Keypad section -->
59 <include layout="@layout/dialpad" />
The Android Open Source Projectd9351702008-12-17 18:05:55 -080060
61 <!-- "Dialpad chooser" UI, shown only when the user brings up the
62 Dialer while a call is already in progress.
63 When this UI is visible, the other Dialer elements
64 (the textfield/button and the dialpad) are hidden. -->
65 <ListView android:id="@+id/dialpadChooser"
66 android:layout_width="fill_parent"
The Android Open Source Project9cb63a52009-01-09 17:51:25 -080067 android:layout_height="1dp"
68 android:layout_weight="1"
The Android Open Source Projectd9351702008-12-17 18:05:55 -080069 />
70
The Android Open Source Project5dc3b4f2008-10-21 07:00:00 -070071</LinearLayout>