Roll NDK to pick std::deque patch.
[android_tools.git] / sdk / platforms / android-25 / data / res / layout-watch / preference_list_fragment_material.xml
blobae8f203a7ce618805d34ad2417e2fa4837132e30
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3      Copyright (C) 2016 The Android Open Source Project
5      Licensed under the Apache License, Version 2.0 (the "License");
6      you may not use this file except in compliance with the License.
7      You may obtain a copy of the License at
9           http://www.apache.org/licenses/LICENSE-2.0
11      Unless required by applicable law or agreed to in writing, software
12      distributed under the License is distributed on an "AS IS" BASIS,
13      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14      See the License for the specific language governing permissions and
15      limitations under the License.
16 -->
17 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18     android:orientation="vertical"
19     android:layout_height="match_parent"
20     android:layout_width="match_parent"
21     android:background="@android:color/transparent"
22     android:layout_removeBorders="true">
24     <FrameLayout
25         android:id="@android:id/list_container"
26         android:layout_width="match_parent"
27         android:layout_height="0px"
28         android:layout_weight="1">
29         <com.android.internal.widget.WatchHeaderListView
30             android:id="@android:id/list"
31             android:layout_width="match_parent"
32             android:layout_height="match_parent"
33             style="?attr/preferenceFragmentListStyle"
34             android:scrollbarStyle="@integer/preference_fragment_scrollbarStyle"
35             android:clipToPadding="false"
36             android:drawSelectorOnTop="false"
37             android:cacheColorHint="@android:color/transparent"
38             android:scrollbarAlwaysDrawVerticalTrack="true">
39              <TextView
40                 android:id="@android:id/title"
41                 android:layout_width="match_parent"
42                 android:layout_height="wrap_content"
43                 android:paddingStart="@dimen/dialog_padding_material"
44                 android:paddingEnd="@dimen/dialog_padding_material"
45                 android:paddingBottom="8dp"
46                 android:textAppearance="@style/TextAppearance.Material.Title"
47                 android:gravity="center" />
48         </com.android.internal.widget.WatchHeaderListView>
49     </FrameLayout>
51     <TextView android:id="@android:id/empty"
52         android:layout_width="match_parent"
53         android:layout_height="match_parent"
54         android:padding="@dimen/preference_fragment_padding_side"
55         android:gravity="center"
56         android:visibility="gone" />
58     <RelativeLayout android:id="@+id/button_bar"
59         android:layout_height="wrap_content"
60         android:layout_width="match_parent"
61         android:layout_weight="0"
62         android:visibility="gone">
64         <Button android:id="@+id/back_button"
65             android:layout_width="150dip"
66             android:layout_height="wrap_content"
67             android:layout_margin="5dip"
68             android:layout_alignParentStart="true"
69             android:text="@string/back_button_label"
70         />
71         <LinearLayout
72             android:orientation="horizontal"
73             android:layout_width="wrap_content"
74             android:layout_height="wrap_content"
75             android:layout_alignParentEnd="true">
77             <Button android:id="@+id/skip_button"
78                 android:layout_width="150dip"
79                 android:layout_height="wrap_content"
80                 android:layout_margin="5dip"
81                 android:text="@string/skip_button_label"
82                 android:visibility="gone"
83             />
85             <Button android:id="@+id/next_button"
86                 android:layout_width="150dip"
87                 android:layout_height="wrap_content"
88                 android:layout_margin="5dip"
89                 android:text="@string/next_button_label"
90             />
91         </LinearLayout>
92     </RelativeLayout>
93 </LinearLayout>