• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2018 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16<LinearLayout
17    xmlns:android="http://schemas.android.com/apk/res/android"
18    android:layout_width="match_parent"
19    android:layout_height="match_parent"
20    android:orientation="vertical">
21
22    <LinearLayout
23        android:layout_width="match_parent"
24        android:layout_height="?android:attr/actionBarSize"
25        android:background="@color/colorPrimaryDark"
26        android:gravity="bottom"
27        android:orientation="horizontal">
28
29        <Button
30            android:id="@+id/cancel_pager"
31            android:layout_width="wrap_content"
32            android:layout_height="wrap_content"
33            android:layout_weight="1"
34            style="@style/flatButton"
35            android:text="@string/cancel_button" />
36
37        <Button
38            android:id="@+id/next_pager"
39            android:layout_width="wrap_content"
40            android:layout_height="wrap_content"
41            android:layout_weight="1"
42            style="@style/flatButton"
43            android:text="@string/next_button" />
44
45    </LinearLayout>
46
47    <FrameLayout
48        android:layout_width="match_parent"
49        android:layout_height="0dp"
50        android:layout_weight="1"
51        android:gravity="bottom">
52
53        <LinearLayout
54            android:layout_width="wrap_content"
55            android:layout_height="wrap_content"
56            android:layout_marginHorizontal="@dimen/fullMargin"
57            android:layout_marginBottom="@dimen/tutorial_bottom_margin"
58            android:elevation="@dimen/tutorial_elevation"
59            android:background="@drawable/tutorial_card"
60            android:layout_gravity="bottom|center_horizontal" >
61            <TextView
62                android:id="@+id/tutorial_text"
63                android:layout_width="wrap_content"
64                android:layout_height="wrap_content"
65                android:textColor="@color/md_grey_900"
66                android:textAppearance="@style/TextAppearance.AppCompat.Headline"
67                android:padding="@dimen/fullMargin" />
68        </LinearLayout>
69    </FrameLayout>
70</LinearLayout>
71