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
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:orientation="vertical"
22    android:layout_height="match_parent"
23    android:layout_width="match_parent">
24
25    <LinearLayout
26        android:orientation="horizontal"
27        android:layout_width="match_parent"
28        android:layout_height="0px"
29        android:layout_weight="1">
30
31        <LinearLayout
32            android:id="@+id/headers"
33            android:orientation="vertical"
34            android:layout_width="match_parent"
35            android:layout_height="match_parent">
36
37            <ListView android:id="@android:id/list"
38                style="?attr/preferenceFragmentStyle"
39                android:layout_width="match_parent"
40                android:layout_height="0px"
41                android:layout_weight="1"
42                android:drawSelectorOnTop="false"
43                android:scrollbarStyle="@integer/preference_fragment_scrollbarStyle"
44                android:cacheColorHint="@android:color/transparent"
45                android:listPreferredItemHeight="48dp"
46                android:scrollbarAlwaysDrawVerticalTrack="true" />
47
48            <FrameLayout android:id="@+id/list_footer"
49                    android:layout_width="match_parent"
50                    android:layout_height="wrap_content"
51                    android:layout_weight="0" />
52
53        </LinearLayout>
54
55    </LinearLayout>
56
57    <RelativeLayout android:id="@+id/button_bar"
58        android:layout_height="wrap_content"
59        android:layout_width="match_parent"
60        android:layout_weight="0"
61        android:visibility="gone">
62
63        <Button android:id="@+id/back_button"
64            android:layout_width="150dip"
65            android:layout_height="wrap_content"
66            android:layout_margin="5dip"
67            android:layout_alignParentStart="true"
68            android:text="@string/back_button_label"
69        />
70        <LinearLayout
71            android:orientation="horizontal"
72            android:layout_width="wrap_content"
73            android:layout_height="wrap_content"
74            android:layout_alignParentEnd="true">
75
76            <Button android:id="@+id/skip_button"
77                android:layout_width="150dip"
78                android:layout_height="wrap_content"
79                android:layout_margin="5dip"
80                android:text="@string/skip_button_label"
81                android:visibility="gone"
82            />
83
84            <Button android:id="@+id/next_button"
85                android:layout_width="150dip"
86                android:layout_height="wrap_content"
87                android:layout_margin="5dip"
88                android:text="@string/next_button_label"
89            />
90        </LinearLayout>
91    </RelativeLayout>
92</LinearLayout>
93