1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2015 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License.
16  -->
17
18<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
19    android:id="@+id/onboarding_fragment_root"
20    android:layout_width="match_parent"
21    android:layout_height="match_parent"
22    android:clipChildren="false"
23    android:clipToPadding="false">
24
25    <FrameLayout
26        android:id="@+id/background_container"
27        android:layout_width="match_parent"
28        android:layout_height="match_parent"
29        android:visibility="gone" />
30
31    <LinearLayout
32        android:id="@+id/page_container"
33        style="?attr/onboardingHeaderStyle"
34        android:visibility="gone">
35        <TextView
36            android:id="@+id/title"
37            style="?attr/onboardingTitleStyle"/>
38        <TextView
39            android:id="@+id/description"
40            style="?attr/onboardingDescriptionStyle"/>
41    </LinearLayout>
42
43    <FrameLayout
44        android:id="@+id/content_container"
45        android:layout_width="match_parent"
46        android:layout_height="match_parent"
47        android:layout_above="@+id/navigator_container"
48        android:layout_below="@id/page_container"
49        android:layout_centerHorizontal="true"
50        android:visibility="gone" />
51
52    <FrameLayout
53        android:id="@id/navigator_container"
54        style="?attr/onboardingNavigatorContainerStyle">
55        <android.support.v17.leanback.widget.PagingIndicator
56            android:id="@+id/page_indicator"
57            style="?attr/onboardingPageIndicatorStyle"
58            android:visibility="gone" />
59
60        <Button
61            android:id="@+id/button_start"
62            style="?attr/onboardingStartButtonStyle"
63            android:visibility="gone"/>
64    </FrameLayout>
65
66    <FrameLayout
67        android:id="@+id/foreground_container"
68        android:layout_width="match_parent"
69        android:layout_height="match_parent"
70        android:visibility="gone" />
71
72    <ImageView
73        android:id="@+id/logo"
74        style="?attr/onboardingLogoStyle"/>
75
76</RelativeLayout>
77