1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2014 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<com.android.dialer.widget.OverlappingPaneLayout 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 android:id="@+id/lists_frame" 20 android:layout_width="match_parent" 21 android:layout_height="match_parent" 22 android:animateLayoutChanges="true" > 23 24 <ListView 25 android:id="@+id/shortcut_card_list" 26 android:layout_width="match_parent" 27 android:layout_height="wrap_content" 28 android:paddingTop="@dimen/action_bar_height_large" 29 android:background="@color/actionbar_background_color" 30 android:clipToPadding="false" 31 android:fadingEdge="none" 32 android:divider="@null" /> 33 34 <FrameLayout 35 android:layout_width="match_parent" 36 android:layout_height="match_parent"> 37 38 <LinearLayout 39 android:layout_width="match_parent" 40 android:layout_height="match_parent" 41 android:orientation="vertical"> 42 43 <com.android.contacts.common.list.ViewPagerTabs 44 android:id="@+id/lists_pager_header" 45 android:layout_width="match_parent" 46 android:layout_height="@dimen/tab_height" 47 android:textAllCaps="true" 48 android:orientation="horizontal" 49 android:layout_gravity="top" 50 android:elevation="@dimen/tab_elevation" 51 style="@style/DialtactsActionBarTabTextStyle" /> 52 53 <android.support.v4.view.ViewPager 54 android:id="@+id/lists_pager" 55 android:layout_width="match_parent" 56 android:layout_height="0dp" 57 android:layout_weight="1" /> 58 59 </LinearLayout> 60 61 <com.android.dialer.list.RemoveView 62 android:id="@+id/remove_view" 63 android:layout_width="match_parent" 64 android:layout_height="@dimen/tab_height" 65 android:layout_alignParentTop="true" > 66 67 <LinearLayout 68 android:id="@+id/remove_view_content" 69 android:layout_height="match_parent" 70 android:layout_width="match_parent" 71 android:background="@color/actionbar_background_color" 72 android:gravity="center" 73 android:orientation="horizontal" 74 android:visibility="gone" > 75 76 <ImageView 77 android:layout_width="wrap_content" 78 android:layout_height="wrap_content" 79 android:layout_marginTop="8dp" 80 android:layout_marginBottom="8dp" 81 android:id="@+id/remove_view_icon" 82 android:src="@drawable/ic_remove" 83 android:contentDescription="@string/remove_contact" 84 android:tint="@color/remove_text_color" /> 85 86 <TextView 87 android:layout_width="wrap_content" 88 android:layout_height="wrap_content" 89 android:id="@+id/remove_view_text" 90 android:textSize="@dimen/remove_text_size" 91 android:textColor="@color/remove_text_color" 92 android:text="@string/remove_contact" /> 93 94 </LinearLayout> 95 96 </com.android.dialer.list.RemoveView > 97 98 </FrameLayout> 99 100</com.android.dialer.widget.OverlappingPaneLayout> 101