<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:tools="http://schemas.android.com/tools"
        xmlns:app="http://schemas.android.com/apk/res-auto"
        android:layout_height="match_parent"
        android:layout_width="match_parent"
        tools:background="@color/brand">

    <androidx.viewpager2.widget.ViewPager2
            android:id="@+id/viewPager"
            android:layout_width="match_parent"
            android:layout_height="match_parent" />

    <RelativeLayout
            android:orientation="vertical"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:fitsSystemWindows="true">

        <com.google.android.material.tabs.TabLayout
                android:id="@+id/view_pager_indicator"
                android:layout_height="wrap_content"
                android:layout_width="fill_parent"
                android:layout_alignParentBottom="true"
                app:tabGravity="center"
                app:tabBackground="@drawable/indicator_diamond"
                android:background="@color/transparent"
                app:tabIndicator="@null" />

        <Button
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="@string/skip_button"
                android:id="@+id/skipButton"
                android:layout_alignParentBottom="false"
                android:layout_alignParentEnd="true"
                android:layout_marginEnd="6dp"
                android:layout_alignParentTop="true"
                android:layout_marginTop="@dimen/spacing_small"
                android:textColor="@android:color/white"
                android:background="@color/transparent" />

        <Button
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="@string/intro_finish_button"
                android:id="@+id/finishButton"
                android:layout_alignParentBottom="true"
                android:layout_alignParentEnd="true"
                android:layout_marginEnd="12dp"
                android:layout_marginBottom="6dp"
                android:background="@color/transparent"
                android:textColor="@android:color/white"
                android:textSize="16sp"
                android:visibility="gone"
                tools:visibility="visible" />
    </RelativeLayout>
</FrameLayout>
