• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    <ImageView
32        android:id="@+id/main_icon"
33        style="?attr/onboardingMainIconStyle"/>
34
35    <LinearLayout
36        android:id="@+id/page_container"
37        style="?attr/onboardingHeaderStyle"
38        android:visibility="gone">
39
40        <TextView
41            android:id="@+id/title"
42            style="?attr/onboardingTitleStyle"/>
43        <TextView
44            android:id="@+id/description"
45            style="?attr/onboardingDescriptionStyle"/>
46    </LinearLayout>
47
48    <FrameLayout
49        android:id="@+id/content_container"
50        android:layout_width="match_parent"
51        android:layout_height="match_parent"
52        android:layout_above="@+id/navigator_container"
53        android:layout_below="@id/page_container"
54        android:layout_centerHorizontal="true"
55        android:visibility="gone" />
56
57    <FrameLayout
58        android:id="@id/navigator_container"
59        style="?attr/onboardingNavigatorContainerStyle">
60        <android.support.v17.leanback.widget.PagingIndicator
61            android:id="@+id/page_indicator"
62            style="?attr/onboardingPageIndicatorStyle"
63            android:visibility="gone" />
64
65        <Button
66            android:id="@+id/button_start"
67            style="?attr/onboardingStartButtonStyle"
68            android:visibility="gone"/>
69    </FrameLayout>
70
71    <FrameLayout
72        android:id="@+id/foreground_container"
73        android:layout_width="match_parent"
74        android:layout_height="match_parent"
75        android:visibility="gone" />
76
77    <ImageView
78        android:id="@+id/logo"
79        style="?attr/onboardingLogoStyle"/>
80
81</RelativeLayout>
82