blob: d797fc1b7b37ff3606a46bac10073028cc310571 [file] [log] [blame]
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -08001<?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>
23 <LinearLayout android:id="@+id/digitsAndBackspace"
24 android:layout_width="fill_parent"
Jeff Hamilton66de7e72009-08-04 22:17:18 -050025 android:layout_height="66dip"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080026 android:addStatesFromChildren="true"
27 android:gravity="center_vertical"
28 android:baselineAligned="false"
Jeff Hamilton66de7e72009-08-04 22:17:18 -050029 android:layout_marginTop="3dip"
30 android:layout_marginBottom="5dip"
31 android:layout_marginLeft="3dip"
32 android:layout_marginRight="3dip"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080033 >
34
35 <EditText android:id="@+id/digits"
36 android:layout_width="0dip"
37 android:layout_weight="1"
Jeff Hamilton66de7e72009-08-04 22:17:18 -050038 android:layout_height="66dip"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080039 android:maxLines="1"
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"
46 />
47
48 <!--
49 The button goes at the right.
50 -->
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"
Jeff Hamilton66de7e72009-08-04 22:17:18 -050055 android:layout_height="66dip"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080056 android:background="@drawable/btn_dial_delete"
57 android:gravity="center"
58 />
59
60 </LinearLayout>
61
David Brown3d07e6d2009-08-04 20:30:09 -070062 <!-- Onscreen "Dial" button, used on some platforms -->
63 <Button android:id="@+id/dialButton"
64 android:text="@string/dial_button_label"
65 android:textAppearance="?android:attr/textAppearanceLarge"
66 android:layout_width="wrap_content"
67 android:layout_height="60dip"
68 android:gravity="center"
69 android:layout_gravity="center_horizontal"
70 android:layout_marginTop="20dip"
71 android:paddingLeft="100dip"
72 android:paddingRight="100dip"
73 android:enabled="false"
74 android:visibility="gone"
75 />
76
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080077 <!-- "Dialpad chooser" UI, shown only when the user brings up the
78 Dialer while a call is already in progress.
79 When this UI is visible, the other Dialer elements
80 (the textfield and button) are hidden. -->
81 <ListView android:id="@+id/dialpadChooser"
82 android:layout_width="fill_parent"
83 android:layout_height="wrap_content"
84 android:footerDividersEnabled="true"
85 />
86
87</LinearLayout>