blob: 7601dfe40ad5894166b3491343ef407e48e119af [file] [log] [blame]
Nicolas Catania53f94fc2009-09-28 23:03:33 -07001<?xml version="1.0" encoding="utf-8"?>
David Brown285fdc62011-05-10 21:48:40 -07002<!-- Copyright (C) 2011 The Android Open Source Project
Nicolas Catania53f94fc2009-09-28 23:03:33 -07003
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"
Romain Guy6304c0b2010-01-08 15:06:49 -080019 android:layout_width="match_parent"
20 android:layout_height="match_parent"
Nicolas Catania53f94fc2009-09-28 23:03:33 -070021 android:orientation="vertical"
Daniel Lehmann2028eb02011-04-07 21:04:48 -070022 android:background="@android:color/black"
Nicolas Catania53f94fc2009-09-28 23:03:33 -070023>
24
Nicolas Catania901f8562009-10-09 11:09:45 -070025 <!-- Text field above the keypad where the digits are displayed.
26 It's type is set to NULL (to disable the IME keyboard) in the
27 java code.
28 -->
Nicolas Catania53f94fc2009-09-28 23:03:33 -070029 <EditText android:id="@+id/digits"
Romain Guy6304c0b2010-01-08 15:06:49 -080030 android:layout_width="match_parent"
Daisuke Miyakawa20962612011-06-23 18:29:25 -070031 android:layout_height="@dimen/dialpad_digits_height"
Nicolas Catania53f94fc2009-09-28 23:03:33 -070032 android:gravity="center"
Daisuke Miyakawa20962612011-06-23 18:29:25 -070033 android:textAppearance="@style/DialtactsDigitsTextAppearance" />
Nicolas Catania53f94fc2009-09-28 23:03:33 -070034
35 <!-- Keypad section -->
36 <include layout="@layout/dialpad" />
37
38 <!-- Horizontal row of buttons (Voicemail + DialButton + Delete.) -->
Daisuke Miyakawa20962612011-06-23 18:29:25 -070039 <include layout="@layout/dialpad_additional_buttons" />
Nicolas Catania53f94fc2009-09-28 23:03:33 -070040
41 <!-- "Dialpad chooser" UI, shown only when the user brings up the
42 Dialer while a call is already in progress.
43 When this UI is visible, the other Dialer elements
44 (the textfield/button and the dialpad) are hidden. -->
45 <ListView android:id="@+id/dialpadChooser"
Romain Guy6304c0b2010-01-08 15:06:49 -080046 android:layout_width="match_parent"
Nicolas Catania53f94fc2009-09-28 23:03:33 -070047 android:layout_height="1dip"
48 android:layout_weight="1"
49 />
50
51</LinearLayout>