blob: 07771cc1d7e755f26e6a338ad3d7f19caeccdbc8 [file] [log] [blame]
Nicolas Catania53f94fc2009-09-28 23:03:33 -07001<?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<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>
23
Nicolas Catania901f8562009-10-09 11:09:45 -070024 <!-- Text field above the keypad where the digits are displayed.
25 It's type is set to NULL (to disable the IME keyboard) in the
26 java code.
27 -->
Nicolas Catania53f94fc2009-09-28 23:03:33 -070028 <!-- TODO: Use a textAppearance to control the display of the number -->
29 <EditText android:id="@+id/digits"
30 android:layout_width="fill_parent"
31 android:layout_height="74dip"
Nicolas Catania53f94fc2009-09-28 23:03:33 -070032 android:gravity="center"
33 android:maxLines="1"
34 android:scrollHorizontally="true"
35 android:textSize="34sp"
36 android:freezesText="true"
37 android:background="@drawable/btn_dial_textfield"
38 android:textColor="@color/dialer_button_text"
Nicolas Catania3040fa32009-10-01 13:00:53 -070039 android:focusableInTouchMode="true"
40 android:editable="true"
41 android:cursorVisible="false"
Nicolas Catania7a26b272009-10-20 12:36:32 -070042 android:layout_weight="0"
Nicolas Catania53f94fc2009-09-28 23:03:33 -070043 />
44
45 <!-- Keypad section -->
46 <include layout="@layout/dialpad" />
47
48 <!-- Horizontal row of buttons (Voicemail + DialButton + Delete.) -->
49 <include layout="@layout/voicemail_dial_delete" />
50
51 <!-- "Dialpad chooser" UI, shown only when the user brings up the
52 Dialer while a call is already in progress.
53 When this UI is visible, the other Dialer elements
54 (the textfield/button and the dialpad) are hidden. -->
55 <ListView android:id="@+id/dialpadChooser"
56 android:layout_width="fill_parent"
57 android:layout_height="1dip"
58 android:layout_weight="1"
59 />
60
61</LinearLayout>