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