blob: 9d3c620438d5083dea0bff0a1dd33d8d419b681e [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" />
Yorke Lee8165cb12014-03-12 12:07:40 -070028 <!-- Dialpad shadow -->
29 <View
30 android:layout_width="match_parent"
31 android:layout_height="3dp"
32 android:background="@drawable/shadow_fade_up" />
Yorke Leec45baec2013-09-05 18:25:48 -070033 <view class="com.android.dialer.dialpad.DialpadFragment$HoverIgnoringLinearLayout"
Yorke Lee8898cd02013-08-08 10:24:27 -070034 android:id="@+id/top"
Ihab Awad526c0b82014-02-27 12:55:36 -080035 android:layout_height="wrap_content"
Chiao Cheng94b10b52012-08-17 16:59:12 -070036 android:layout_width="match_parent"
Ihab Awad526c0b82014-02-27 12:55:36 -080037 android:layout_gravity="bottom"
Yorke Lee8898cd02013-08-08 10:24:27 -070038 android:orientation="vertical"
Yorke Lee8898cd02013-08-08 10:24:27 -070039 android:layoutDirection="ltr"
Yorke Leea5d5cdf2014-04-22 17:20:00 -070040 android:background="@color/background_dialpad"
41 android:clickable="true">
Chiao Cheng94b10b52012-08-17 16:59:12 -070042
Ihab Awad526c0b82014-02-27 12:55:36 -080043 <Space
Yorke Lee3a186542013-05-07 11:59:36 -070044 android:layout_width="match_parent"
Ihab Awad526c0b82014-02-27 12:55:36 -080045 android:layout_height="2dp"
46 android:background="@color/dialpad_separator_line_color" />
Yorke Lee8898cd02013-08-08 10:24:27 -070047
Ihab Awad526c0b82014-02-27 12:55:36 -080048 <Space
49 android:layout_width="match_parent"
Yorke Leea5d5cdf2014-04-22 17:20:00 -070050 android:layout_height="5dp" />
Yorke Lee8898cd02013-08-08 10:24:27 -070051
Yorke Lee86e21f72014-04-02 16:49:38 -070052 <include layout="@layout/dialpad_digits" />
Yorke Lee1be01782012-11-07 15:11:44 -080053
Ihab Awad526c0b82014-02-27 12:55:36 -080054 <Space
55 android:layout_width="match_parent"
Yorke Leea5d5cdf2014-04-22 17:20:00 -070056 android:layout_height="4dp" />
Ihab Awad526c0b82014-02-27 12:55:36 -080057
Yorke Lee8898cd02013-08-08 10:24:27 -070058 <include layout="@layout/dialpad" />
Chiao Cheng94b10b52012-08-17 16:59:12 -070059
Ihab Awad526c0b82014-02-27 12:55:36 -080060 <Space
Chiao Cheng94b10b52012-08-17 16:59:12 -070061 android:layout_width="match_parent"
Ihab Awad526c0b82014-02-27 12:55:36 -080062 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>