1 <?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 --> 16 <view class="com.android.dialer.dialpad.DialpadFragment$DialpadSlidingLinearLayout" 17 xmlns:android="http://schemas.android.com/apk/res/android" 18 android:layout_width="match_parent" 19 android:layout_height="wrap_content" 20 android:orientation="vertical" > 21 <!-- spacer view --> 22 <View 23 android:id="@+id/spacer" 24 android:layout_width="match_parent" 25 android:layout_height="0dp" 26 android:layout_weight="1" 27 android:background="#00000000" /> 28 <!-- Dialpad shadow --> 29 <View 30 android:layout_width="match_parent" 31 android:layout_height="3dp" 32 android:background="@drawable/shadow_fade_up" /> 33 <view class="com.android.dialer.dialpad.DialpadFragment$HoverIgnoringLinearLayout" 34 android:id="@+id/top" 35 android:animateLayoutChanges="true" 36 android:layout_height="wrap_content" 37 android:layout_width="match_parent" 38 android:layout_gravity="bottom" 39 android:orientation="vertical" 40 android:layoutDirection="ltr" 41 android:background="@color/background_dialpad"> 42 43 <Space 44 android:layout_width="match_parent" 45 android:layout_height="2dp" 46 android:background="@color/dialpad_separator_line_color" /> 47 48 <Space 49 android:layout_width="match_parent" 50 android:layout_height="10dp" /> 51 52 <include layout="@layout/dialpad_digits"/> 53 54 <Space 55 android:layout_width="match_parent" 56 android:layout_height="8dp" /> 57 58 <include layout="@layout/dialpad" /> 59 60 <Space 61 android:layout_width="match_parent" 62 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" /> 68 69 <!-- "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" 75 android:layout_height="wrap_content" 76 android:layout_weight="1" 77 android:visibility="gone" /> 78 79 </view> 80 </view> 81