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 17<!-- Layout parameters are set programmatically. --> 18<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 19 android:layout_width="match_parent" 20 android:layout_height="match_parent" 21 android:orientation="vertical" 22 android:divider="?android:attr/dividerHorizontal" 23 android:showDividers="end" 24 android:background="@color/background_dialer_list_items"> 25 26 <FrameLayout 27 android:id="@+id/voicemail_status" 28 android:layout_width="match_parent" 29 android:layout_height="wrap_content" 30 android:visibility="gone"> 31 <include layout="@layout/call_log_voicemail_status" 32 /> 33 </FrameLayout> 34 35 <FrameLayout 36 android:layout_width="match_parent" 37 android:layout_height="wrap_content"> 38 <TextView 39 android:id="@+id/filter_status" 40 android:layout_width="match_parent" 41 android:layout_height="wrap_content" 42 style="@style/ContactListSeparatorTextViewStyle" 43 android:layout_marginStart="@dimen/call_log_outer_margin" 44 android:layout_marginEnd="@dimen/call_log_outer_margin" 45 android:paddingTop="@dimen/call_log_inner_margin" 46 android:paddingBottom="@dimen/call_log_inner_margin" 47 android:layout_alignParentStart="true" 48 android:layout_alignParentBottom="true" 49 android:visibility="gone" 50 /> 51 <View 52 android:id="@+id/call_log_divider" 53 android:layout_width="match_parent" 54 android:layout_height="1px" 55 android:layout_marginStart="@dimen/call_log_outer_margin" 56 android:layout_marginEnd="@dimen/call_log_outer_margin" 57 android:layout_gravity="bottom" 58 android:background="#55ffffff" 59 /> 60 </FrameLayout> 61 <FrameLayout 62 android:layout_width="match_parent" 63 android:layout_height="match_parent"> 64 <!-- clipChildren=false is required to ensure shadows drawn 65 within list items aren't clipped by the list item bounds. --> 66 <ListView android:id="@android:id/list" 67 android:layout_width="match_parent" 68 android:layout_height="match_parent" 69 android:fadingEdge="none" 70 android:scrollbarStyle="outsideOverlay" 71 android:background="@color/background_dialer_list_items" 72 android:divider="@null" 73 android:nestedScrollingEnabled="true" 74 android:clipChildren="false" 75 /> 76 77 <include 78 android:id="@+id/empty_list_view" 79 android:layout_width="match_parent" 80 android:layout_height="match_parent" 81 layout="@layout/empty_list_view" 82 android:visibility="gone"/> 83 84 </FrameLayout> 85 86</LinearLayout> 87