Roll NDK to pick std::deque patch.
[android_tools.git] / sdk / platforms / android-25 / data / res / layout / preference_list_content.xml
blob02cd8cdd9b8ed0048609fd3464a9a12a48dd064d
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
11 **     http://www.apache.org/licenses/LICENSE-2.0
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.
19 -->
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">
26     <LinearLayout
27         android:orientation="horizontal"
28         android:layout_width="match_parent"
29         android:layout_height="0px"
30         android:layout_weight="1">
32         <LinearLayout
33             style="?attr/preferenceHeaderPanelStyle"
34             android:id="@+id/headers"
35             android:orientation="vertical"
36             android:layout_width="0px"
37             android:layout_height="match_parent"
38             android:layout_weight="@integer/preferences_left_pane_weight">
40             <ListView android:id="@android:id/list"
41                 style="?attr/preferenceListStyle"
42                 android:layout_width="match_parent"
43                 android:layout_height="0px"
44                 android:layout_weight="1"
45                 android:clipToPadding="false"
46                 android:drawSelectorOnTop="false"
47                 android:cacheColorHint="@android:color/transparent"
48                 android:listPreferredItemHeight="48dp"
49                 android:scrollbarAlwaysDrawVerticalTrack="true" />
51             <FrameLayout android:id="@+id/list_footer"
52                     android:layout_width="match_parent"
53                     android:layout_height="wrap_content"
54                     android:layout_weight="0" />
56         </LinearLayout>
58         <LinearLayout
59                 android:id="@+id/prefs_frame"
60                 style="?attr/preferencePanelStyle"
61                 android:layout_width="0px"
62                 android:layout_height="match_parent"
63                 android:layout_weight="@integer/preferences_right_pane_weight"
64                 android:orientation="vertical"
65                 android:visibility="gone" >
67             <!-- Breadcrumb inserted here, in certain screen sizes. In others, it will be an
68                 empty layout or just padding, and PreferenceActivity will put the breadcrumbs in
69                 the action bar. -->
70             <include layout="@layout/breadcrumbs_in_fragment" />
72             <android.preference.PreferenceFrameLayout android:id="@+id/prefs"
73                     android:layout_width="match_parent"
74                     android:layout_height="0dip"
75                     android:layout_weight="1"
76                 />
77         </LinearLayout>
78     </LinearLayout>
80     <RelativeLayout android:id="@+id/button_bar"
81         android:layout_height="wrap_content"
82         android:layout_width="match_parent"
83         android:layout_weight="0"
84         android:visibility="gone">
86         <Button android:id="@+id/back_button"
87             android:layout_width="150dip"
88             android:layout_height="wrap_content"
89             android:layout_margin="5dip"
90             android:layout_alignParentStart="true"
91             android:text="@string/back_button_label"
92         />
93         <LinearLayout
94             android:orientation="horizontal"
95             android:layout_width="wrap_content"
96             android:layout_height="wrap_content"
97             android:layout_alignParentEnd="true">
99             <Button android:id="@+id/skip_button"
100                 android:layout_width="150dip"
101                 android:layout_height="wrap_content"
102                 android:layout_margin="5dip"
103                 android:text="@string/skip_button_label"
104                 android:visibility="gone"
105             />
107             <Button android:id="@+id/next_button"
108                 android:layout_width="150dip"
109                 android:layout_height="wrap_content"
110                 android:layout_margin="5dip"
111                 android:text="@string/next_button_label"
112             />
113         </LinearLayout>
114     </RelativeLayout>
115 </LinearLayout>