OSDN Git Service

Merge "Schematize Crypto state system property"
[android-x86/packages-apps-Settings.git] / res / layout / preference_list_fragment.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 /*
4 ** Copyright 2014, 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
11 **
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.
17 */
18 -->
19
20 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
21     android:id="@+id/container_material"
22     android:orientation="vertical"
23     android:layout_width="match_parent"
24     android:layout_height="match_parent"
25     android:background="@android:color/transparent">
26
27     <FrameLayout android:id="@+id/pinned_header"
28         android:layout_width="match_parent"
29         android:layout_height="wrap_content"
30         android:visibility="gone" />
31
32     <FrameLayout
33         android:id="@android:id/list_container"
34         android:layout_height="0px"
35         android:layout_weight="1"
36         android:layout_width="match_parent">
37
38         <include layout="@layout/loading_container" />
39
40     </FrameLayout>
41
42     <TextView android:id="@android:id/empty"
43         android:layout_width="wrap_content"
44         android:layout_height="match_parent"
45         android:padding="@*android:dimen/preference_fragment_padding_side"
46         android:layout_gravity="center"
47         android:gravity="center_vertical"
48         android:visibility="gone" />
49
50     <RelativeLayout android:id="@+id/button_bar"
51         android:layout_height="wrap_content"
52         android:layout_width="match_parent"
53         android:layout_weight="0"
54         android:visibility="gone">
55
56         <Button android:id="@+id/back_button"
57             style="?android:attr/buttonBarButtonStyle"
58             android:layout_width="150dip"
59             android:layout_height="wrap_content"
60             android:layout_margin="5dip"
61             android:layout_alignParentStart="true"
62             android:text="@*android:string/back_button_label" />
63
64         <LinearLayout
65             android:orientation="horizontal"
66             android:layout_width="wrap_content"
67             android:layout_height="wrap_content"
68             android:layout_alignParentEnd="true">
69
70             <Button android:id="@+id/skip_button"
71                 style="?android:attr/buttonBarButtonStyle"
72                 android:layout_width="wrap_content"
73                 android:layout_height="wrap_content"
74                 android:layout_margin="5dip"
75                 android:text="@*android:string/skip_button_label"
76                 android:visibility="gone" />
77
78             <Button android:id="@+id/next_button"
79                 style="?android:attr/buttonBarButtonStyle"
80                 android:layout_width="wrap_content"
81                 android:layout_height="wrap_content"
82                 android:layout_margin="5dip"
83                 android:text="@*android:string/next_button_label" />
84
85         </LinearLayout>
86
87     </RelativeLayout>
88
89 </LinearLayout>
90