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:orientation="vertical"
22              android:layout_height="match_parent"
23              android:layout_width="match_parent">
24
25    <com.android.settings.widget.SwitchBar
26        android:id="@+id/switch_bar"
27        android:layout_height="?android:attr/actionBarSize"
28        android:layout_width="match_parent"
29        android:theme="?attr/switchBarTheme"/>
30
31    <FrameLayout
32        android:id="@+id/main_content"
33        android:layout_width="match_parent"
34        android:layout_height="0dp"
35        android:layout_weight="1"/>
36
37    <RelativeLayout android:id="@+id/button_bar"
38                    android:layout_height="wrap_content"
39                    android:layout_width="match_parent"
40                    android:layout_weight="0"
41                    android:visibility="gone">
42
43        <Button android:id="@+id/back_button"
44                android:layout_width="150dip"
45                android:layout_height="wrap_content"
46                android:layout_margin="5dip"
47                android:layout_alignParentStart="true"
48                android:text="@*android:string/back_button_label"/>
49
50        <LinearLayout
51                android:orientation="horizontal"
52                android:layout_width="wrap_content"
53                android:layout_height="wrap_content"
54                android:layout_alignParentEnd="true">
55
56            <Button android:id="@+id/skip_button"
57                    android:layout_width="150dip"
58                    android:layout_height="wrap_content"
59                    android:layout_margin="5dip"
60                    android:text="@*android:string/skip_button_label"
61                    android:visibility="gone"/>
62
63            <Button android:id="@+id/next_button"
64                    android:layout_width="150dip"
65                    android:layout_height="wrap_content"
66                    android:layout_margin="5dip"
67                    android:text="@*android:string/next_button_label"/>
68
69        </LinearLayout>
70
71    </RelativeLayout>
72
73</LinearLayout>
74