1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (C) 2011 The Android Open Source Project Licensed under the 4 Apache License, Version 2.0 (the "License"); you may not use this file 5 except in compliance with the License. You may obtain a copy of the 6 License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by 7 applicable law or agreed to in writing, software distributed under the 8 License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 9 CONDITIONS OF ANY KIND, either express or implied. See the License for 10 the specific language governing permissions and limitations under the 11 License. 12--> 13 14<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 15 android:orientation="vertical" 16 android:layout_height="match_parent" 17 android:layout_width="match_parent"> 18 19 <LinearLayout 20 android:orientation="horizontal" 21 android:layout_width="match_parent" 22 android:layout_height="0px" 23 android:layout_weight="1"> 24 25 <LinearLayout 26 android:id="@+id/headers" 27 android:orientation="vertical" 28 android:layout_width="0px" 29 android:layout_height="match_parent" 30 android:layout_marginRight="@dimen/preference_screen_side_margin_negative" 31 android:layout_marginLeft="@dimen/preference_screen_side_margin" 32 android:layout_marginTop="32dp" 33 android:layout_marginBottom="32dp" 34 android:layout_weight="10"> 35 36 <ListView android:id="@android:id/list" 37 android:layout_width="match_parent" 38 android:layout_height="0px" 39 android:layout_weight="1" 40 android:drawSelectorOnTop="false" 41 android:cacheColorHint="@android:color/transparent" 42 android:listPreferredItemHeight="48dp" 43 android:scrollbarAlwaysDrawVerticalTrack="true" /> 44 45 <FrameLayout android:id="@+id/list_footer" 46 android:layout_width="match_parent" 47 android:layout_height="wrap_content" 48 android:layout_weight="0" /> 49 50 </LinearLayout> 51 52 <LinearLayout 53 android:id="@+id/prefs_frame" 54 android:layout_width="0px" 55 android:layout_height="match_parent" 56 android:layout_weight="20" 57 android:layout_marginLeft="@dimen/preference_screen_side_margin" 58 android:layout_marginRight="@dimen/preference_screen_side_margin" 59 android:layout_marginTop="16dp" 60 android:layout_marginBottom="16dp" 61 android:background="?android:attr/detailsElementBackground" 62 android:orientation="vertical" 63 android:visibility="gone" > 64 65 <!-- Breadcrumb inserted here --> 66 <android.app.FragmentBreadCrumbs 67 android:id="@android:id/title" 68 android:layout_height="72dip" 69 android:layout_width="match_parent" 70 android:paddingTop="16dip" 71 android:paddingBottom="8dip" 72 android:gravity="center_vertical|left" 73 android:layout_marginLeft="48dip" 74 android:layout_marginRight="48dip" 75 /> 76 77 <ImageView 78 android:layout_width="match_parent" 79 android:layout_height="1dip" 80 android:paddingLeft="32dip" 81 android:paddingRight="32dip" 82 android:src="#404040" 83 /> 84 <android.preference.PreferenceFrameLayout android:id="@+id/prefs" 85 android:layout_width="match_parent" 86 android:layout_height="0dip" 87 android:layout_weight="1" 88 android:layout_marginTop="-1dip" 89 /> 90 </LinearLayout> 91 </LinearLayout> 92</LinearLayout> 93