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