Android O SDK.
[android_tools.git] / sdk / platforms / android-26 / data / res / layout-sw600dp / preference_list_content_single.xml
blob88b1aa8d4d0099046266e171f0d441dfefdb8e84
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
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.
18 -->
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">
25     <LinearLayout
26         android:orientation="horizontal"
27         android:layout_width="match_parent"
28         android:layout_height="0px"
29         android:layout_weight="1">
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">
38             <ListView
39                 android:id="@android:id/list"
40                 android:layout_width="match_parent"
41                 android:layout_height="0px"
42                 android:layout_weight="1"
43                 android:drawSelectorOnTop="false"
44                 android:cacheColorHint="@android:color/transparent"
45                 android:listPreferredItemHeight="48dp"
46                 android:scrollbarAlwaysDrawVerticalTrack="true"
47                 android:paddingStart="32dip"
48                 android:paddingEnd="32dip"
49                 android:paddingTop="32dip"
50                 android:paddingBottom="32dip"
51                 android:clipToPadding="false"/>
53             <FrameLayout android:id="@+id/list_footer"
54                     android:layout_width="match_parent"
55                     android:layout_height="wrap_content"
56                     android:layout_weight="0" />
58         </LinearLayout>
60     </LinearLayout>
62     <RelativeLayout android:id="@+id/button_bar"
63         android:layout_height="wrap_content"
64         android:layout_width="match_parent"
65         android:layout_weight="0"
66         android:visibility="gone">
68         <Button android:id="@+id/back_button"
69             android:layout_width="150dip"
70             android:layout_height="wrap_content"
71             android:layout_margin="5dip"
72             android:layout_alignParentStart="true"
73             android:text="@string/back_button_label"
74         />
75         <LinearLayout
76             android:orientation="horizontal"
77             android:layout_width="wrap_content"
78             android:layout_height="wrap_content"
79             android:layout_alignParentEnd="true">
81             <Button android:id="@+id/skip_button"
82                 android:layout_width="150dip"
83                 android:layout_height="wrap_content"
84                 android:layout_margin="5dip"
85                 android:text="@string/skip_button_label"
86                 android:visibility="gone"
87             />
89             <Button android:id="@+id/next_button"
90                 android:layout_width="150dip"
91                 android:layout_height="wrap_content"
92                 android:layout_margin="5dip"
93                 android:text="@string/next_button_label"
94             />
95         </LinearLayout>
96     </RelativeLayout>
97 </LinearLayout>