blob: 239f727747969beb7d7d9fcbecdf11d852c4406e [file] [log] [blame]
Chiao Cheng94b10b52012-08-17 16:59:12 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2011 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-->
Yorke Lee8898cd02013-08-08 10:24:27 -070016<view class="com.android.dialer.dialpad.DialpadFragment$DialpadSlidingLinearLayout"
17 xmlns:android="http://schemas.android.com/apk/res/android"
Chiao Cheng94b10b52012-08-17 16:59:12 -070018 android:layout_width="match_parent"
Ihab Awad526c0b82014-02-27 12:55:36 -080019 android:layout_height="wrap_content"
Yorke Lee8898cd02013-08-08 10:24:27 -070020 android:orientation="vertical" >
21 <!-- spacer view -->
Chiao Chenga4ef5092013-11-12 13:41:27 -080022 <View
23 android:id="@+id/spacer"
Yorke Lee8898cd02013-08-08 10:24:27 -070024 android:layout_width="match_parent"
25 android:layout_height="0dp"
Ihab Awad526c0b82014-02-27 12:55:36 -080026 android:layout_weight="1"
27 android:background="#00000000" />
28
Yorke Leec45baec2013-09-05 18:25:48 -070029 <view class="com.android.dialer.dialpad.DialpadFragment$HoverIgnoringLinearLayout"
Yorke Lee8898cd02013-08-08 10:24:27 -070030 android:id="@+id/top"
Ihab Awad526c0b82014-02-27 12:55:36 -080031 android:animateLayoutChanges="true"
32 android:layout_height="wrap_content"
Chiao Cheng94b10b52012-08-17 16:59:12 -070033 android:layout_width="match_parent"
Ihab Awad526c0b82014-02-27 12:55:36 -080034 android:layout_gravity="bottom"
Yorke Lee8898cd02013-08-08 10:24:27 -070035 android:orientation="vertical"
Yorke Lee8898cd02013-08-08 10:24:27 -070036 android:layoutDirection="ltr"
Ihab Awad526c0b82014-02-27 12:55:36 -080037 android:background="@color/background_dialpad">
Chiao Cheng94b10b52012-08-17 16:59:12 -070038
Ihab Awad526c0b82014-02-27 12:55:36 -080039 <Space
Yorke Lee3a186542013-05-07 11:59:36 -070040 android:layout_width="match_parent"
Ihab Awad526c0b82014-02-27 12:55:36 -080041 android:layout_height="2dp"
42 android:background="@color/dialpad_separator_line_color" />
Yorke Lee8898cd02013-08-08 10:24:27 -070043
Ihab Awad526c0b82014-02-27 12:55:36 -080044 <Space
45 android:layout_width="match_parent"
46 android:layout_height="10dp" />
Yorke Lee8898cd02013-08-08 10:24:27 -070047
Ihab Awad526c0b82014-02-27 12:55:36 -080048 <include layout="@layout/dialpad_digits"/>
Yorke Lee1be01782012-11-07 15:11:44 -080049
Ihab Awad526c0b82014-02-27 12:55:36 -080050 <Space
51 android:layout_width="match_parent"
52 android:layout_height="8dp" />
53
Yorke Lee8898cd02013-08-08 10:24:27 -070054 <include layout="@layout/dialpad" />
Chiao Cheng94b10b52012-08-17 16:59:12 -070055
Ihab Awad526c0b82014-02-27 12:55:36 -080056 <Space
Chiao Cheng94b10b52012-08-17 16:59:12 -070057 android:layout_width="match_parent"
Ihab Awad526c0b82014-02-27 12:55:36 -080058 android:layout_height="8dp" />
59
60 <Space
61 android:layout_width="match_parent"
62 android:layout_height="2dp"
63 android:background="@color/dialpad_separator_line_color" />
Chiao Cheng94b10b52012-08-17 16:59:12 -070064
Yorke Lee8898cd02013-08-08 10:24:27 -070065 <!-- "Dialpad chooser" UI, shown only when the user brings up the
66 Dialer while a call is already in progress.
67 When this UI is visible, the other Dialer elements
68 (the textfield/button and the dialpad) are hidden. -->
69 <ListView android:id="@+id/dialpadChooser"
70 android:layout_width="match_parent"
Ihab Awad526c0b82014-02-27 12:55:36 -080071 android:layout_height="wrap_content"
Yorke Lee8898cd02013-08-08 10:24:27 -070072 android:layout_weight="1"
Ihab Awad526c0b82014-02-27 12:55:36 -080073 android:visibility="gone" />
Chiao Cheng94b10b52012-08-17 16:59:12 -070074
Yorke Leec45baec2013-09-05 18:25:48 -070075 </view>
Yorke Lee8898cd02013-08-08 10:24:27 -070076</view>