preference_list_content_single.xml revision 6bc6de67374eb6cff91879c03eb91108d8564b0e
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                android:layout_width="match_parent"
39                android:layout_height="0px"
40                android:layout_weight="1"
41                android:drawSelectorOnTop="false"
42                android:cacheColorHint="@android:color/transparent"
43                android:listPreferredItemHeight="48dp"
44                android:scrollbarAlwaysDrawVerticalTrack="true" />
45
46            <FrameLayout android:id="@+id/list_footer"
47                    android:layout_width="match_parent"
48                    android:layout_height="wrap_content"
49                    android:layout_weight="0" />
50
51        </LinearLayout>
52
53    </LinearLayout>
54
55    <RelativeLayout android:id="@+id/button_bar"
56        android:layout_height="wrap_content"
57        android:layout_width="match_parent"
58        android:layout_weight="0"
59        android:visibility="gone">
60
61        <Button android:id="@+id/back_button"
62            android:layout_width="150dip"
63            android:layout_height="wrap_content"
64            android:layout_margin="5dip"
65            android:layout_alignParentLeft="true"
66            android:text="@string/back_button_label"
67        />
68        <LinearLayout
69            android:orientation="horizontal"
70            android:layout_width="wrap_content"
71            android:layout_height="wrap_content"
72            android:layout_alignParentRight="true">
73
74            <Button android:id="@+id/skip_button"
75                android:layout_width="150dip"
76                android:layout_height="wrap_content"
77                android:layout_margin="5dip"
78                android:text="@string/skip_button_label"
79                android:visibility="gone"
80            />
81
82            <Button android:id="@+id/next_button"
83                android:layout_width="150dip"
84                android:layout_height="wrap_content"
85                android:layout_margin="5dip"
86                android:text="@string/next_button_label"
87            />
88        </LinearLayout>
89    </RelativeLayout>
90</LinearLayout>
91