Roll NDK to pick std::deque patch.
[android_tools.git] / sdk / platforms / android-25 / data / res / layout / preference_list_content_material.xml
blob1bc527e26b48bed6070ca44bc8d97ca3f732dc31
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 /* //device/apps/common/assets/res/layout/list_content.xml
4 **
5 ** Copyright 2014, 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"
39             android:background="?attr/windowBackground"
40             android:elevation="4dip" >
42             <ListView android:id="@android:id/list"
43                 style="?attr/preferenceListStyle"
44                 android:layout_width="match_parent"
45                 android:layout_height="0px"
46                 android:layout_weight="1"
47                 android:clipToPadding="false"
48                 android:drawSelectorOnTop="false"
49                 android:cacheColorHint="@color/transparent"
50                 android:listPreferredItemHeight="48dp"
51                 android:scrollbarAlwaysDrawVerticalTrack="true"
52                 android:divider="@null" />
54             <FrameLayout android:id="@+id/list_footer"
55                     android:layout_width="match_parent"
56                     android:layout_height="wrap_content"
57                     android:layout_weight="0" />
59         </LinearLayout>
61         <LinearLayout
62                 android:id="@+id/prefs_frame"
63                 style="?attr/preferencePanelStyle"
64                 android:layout_width="0px"
65                 android:layout_height="match_parent"
66                 android:layout_weight="@integer/preferences_right_pane_weight"
67                 android:orientation="vertical"
68                 android:visibility="gone" >
70             <!-- Breadcrumb inserted here, in certain screen sizes. In others, it will be an
71                 empty layout or just padding, and PreferenceActivity will put the breadcrumbs in
72                 the action bar. -->
73             <include layout="@layout/breadcrumbs_in_fragment_material" />
75             <android.preference.PreferenceFrameLayout android:id="@+id/prefs"
76                     android:layout_width="match_parent"
77                     android:layout_height="0dip"
78                     android:layout_weight="1"
79                 />
80         </LinearLayout>
81     </LinearLayout>
83     <RelativeLayout android:id="@+id/button_bar"
84         android:layout_height="wrap_content"
85         android:layout_width="match_parent"
86         android:layout_weight="0"
87         android:visibility="gone">
89         <Button android:id="@+id/back_button"
90             android:layout_width="150dip"
91             android:layout_height="wrap_content"
92             android:layout_margin="5dip"
93             android:layout_alignParentStart="true"
94             android:text="@string/back_button_label"
95         />
96         <LinearLayout
97             android:orientation="horizontal"
98             android:layout_width="wrap_content"
99             android:layout_height="wrap_content"
100             android:layout_alignParentEnd="true">
102             <Button android:id="@+id/skip_button"
103                 android:layout_width="150dip"
104                 android:layout_height="wrap_content"
105                 android:layout_margin="5dip"
106                 android:text="@string/skip_button_label"
107                 android:visibility="gone"
108             />
110             <Button android:id="@+id/next_button"
111                 android:layout_width="150dip"
112                 android:layout_height="wrap_content"
113                 android:layout_margin="5dip"
114                 android:text="@string/next_button_label"
115             />
116         </LinearLayout>
117     </RelativeLayout>
118 </LinearLayout>