OSDN Git Service

Merge change I386dd954 into eclair
[android-x86/packages-apps-Contacts.git] / res / layout-long-land-finger / twelve_key_dialer.xml
1 <?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
24     <!-- Text field above the keypad where the digits are displayed -->
25     <!-- TODO: Use a textAppearance to control the display of the number -->
26     <EditText android:id="@+id/digits"
27         android:layout_width="fill_parent"
28         android:layout_height="74dip"
29         android:layout_marginBottom="30dip"
30         android:layout_marginTop="1dip"
31         android:gravity="center"
32         android:maxLines="1"
33         android:scrollHorizontally="true"
34         android:textSize="34sp"
35         android:freezesText="true"
36         android:background="@drawable/btn_dial_textfield"
37         android:textColor="@color/dialer_button_text"
38         android:hint="@string/dialerKeyboardHintText"
39      />
40
41     <!-- Horizontal row of buttons (Voicemail + DialButton + Delete.) -->
42     <include layout="@layout/voicemail_dial_delete" />
43
44     <!-- "Dialpad chooser" UI, shown only when the user brings up the
45          Dialer while a call is already in progress.
46          When this UI is visible, the other Dialer elements
47          (the textfield and button) are hidden. -->
48     <ListView android:id="@+id/dialpadChooser"
49         android:layout_width="fill_parent"
50         android:layout_height="wrap_content"
51         android:footerDividersEnabled="true"
52     />
53
54 </LinearLayout>