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    android:background="@android:color/transparent"
25    android:layout_removeBorders="true">
26
27    <FrameLayout
28        android:id="@android:id/list_container"
29        android:layout_width="match_parent"
30        android:layout_height="0px"
31        android:layout_weight="1">
32        <ListView android:id="@android:id/list"
33            style="?attr/preferenceFragmentListStyle"
34            android:layout_width="match_parent"
35            android:layout_height="match_parent"
36            android:scrollbarStyle="@integer/preference_fragment_scrollbarStyle"
37            android:clipToPadding="false"
38            android:drawSelectorOnTop="false"
39            android:cacheColorHint="@android:color/transparent"
40            android:scrollbarAlwaysDrawVerticalTrack="true" />
41    </FrameLayout>
42
43    <TextView android:id="@android:id/empty"
44        android:layout_width="match_parent"
45        android:layout_height="match_parent"
46        android:padding="@dimen/preference_fragment_padding_side"
47        android:textAppearance="?android:attr/textAppearanceMedium"
48        android:gravity="center"
49        android:visibility="gone" />
50
51    <RelativeLayout android:id="@+id/button_bar"
52        android:layout_height="wrap_content"
53        android:layout_width="match_parent"
54        android:layout_weight="0"
55        android:visibility="gone">
56
57        <Button android:id="@+id/back_button"
58            android:layout_width="150dip"
59            android:layout_height="wrap_content"
60            android:layout_margin="5dip"
61            android:layout_alignParentStart="true"
62            android:text="@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                android:layout_width="150dip"
72                android:layout_height="wrap_content"
73                android:layout_margin="5dip"
74                android:text="@string/skip_button_label"
75                android:visibility="gone"
76            />
77
78            <Button android:id="@+id/next_button"
79                android:layout_width="150dip"
80                android:layout_height="wrap_content"
81                android:layout_margin="5dip"
82                android:text="@string/next_button_label"
83            />
84        </LinearLayout>
85    </RelativeLayout>
86</LinearLayout>
87