blob: dfe5c7c84779cf5476b772085f825a9a4faa118d [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:animateLayoutChanges="true"
36 android:layout_height="wrap_content"
Chiao Cheng94b10b52012-08-17 16:59:12 -070037 android:layout_width="match_parent"
Ihab Awad526c0b82014-02-27 12:55:36 -080038 android:layout_gravity="bottom"
Yorke Lee8898cd02013-08-08 10:24:27 -070039 android:orientation="vertical"
Yorke Lee8898cd02013-08-08 10:24:27 -070040 android:layoutDirection="ltr"
Ihab Awad526c0b82014-02-27 12:55:36 -080041 android:background="@color/background_dialpad">
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"
50 android:layout_height="10dp" />
Yorke Lee8898cd02013-08-08 10:24:27 -070051
Ihab Awad526c0b82014-02-27 12:55:36 -080052 <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"
56 android:layout_height="8dp" />
57
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="8dp" />
63
64 <Space
65 android:layout_width="match_parent"
66 android:layout_height="2dp"
67 android:background="@color/dialpad_separator_line_color" />
Chiao Cheng94b10b52012-08-17 16:59:12 -070068
Yorke Lee8898cd02013-08-08 10:24:27 -070069 <!-- "Dialpad chooser" UI, shown only when the user brings up the
70 Dialer while a call is already in progress.
71 When this UI is visible, the other Dialer elements
72 (the textfield/button and the dialpad) are hidden. -->
73 <ListView android:id="@+id/dialpadChooser"
74 android:layout_width="match_parent"
Ihab Awad526c0b82014-02-27 12:55:36 -080075 android:layout_height="wrap_content"
Yorke Lee8898cd02013-08-08 10:24:27 -070076 android:layout_weight="1"
Ihab Awad526c0b82014-02-27 12:55:36 -080077 android:visibility="gone" />
Chiao Cheng94b10b52012-08-17 16:59:12 -070078
Yorke Leec45baec2013-09-05 18:25:48 -070079 </view>
Yorke Lee8898cd02013-08-08 10:24:27 -070080</view>