<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_gravity="bottom"
    android:background="?colorSurface">

    <androidx.appcompat.widget.AppCompatImageButton
        android:id="@+id/release_notes_btn_close"
        android:layout_width="48dp"
        android:layout_height="48dp"
        android:background="@null"
        android:src="@drawable/ic_close_24dp"
        android:tint="?vctr_content_secondary"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintStart_toStartOf="parent"/>

    <com.google.android.material.tabs.TabLayout
        android:id="@+id/release_notes_carousel_indicator"
        android:layout_width="match_parent"
        android:layout_height="36dp"
        android:layout_marginBottom="@dimen/release_notes_vertical_margin_small"
        android:background="@null"
        app:layout_constraintBottom_toTopOf="@id/releaseNotesButtonNext"
        app:tabBackground="@drawable/indicator_onboarding_carousel_selector"
        app:tabGravity="center"
        app:tabIndicatorHeight="0dp"
        app:tabPaddingEnd="8dp"
        app:tabPaddingStart="8dp" />

    <Button
        android:id="@+id/releaseNotesButtonNext"
        style="@style/Widget.Vector.Button.Login"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginHorizontal="24dp"
        android:layout_marginBottom="@dimen/release_notes_vertical_margin"
        android:textAllCaps="true"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        tools:text="@string/action_next" />

    <androidx.viewpager2.widget.ViewPager2
        android:id="@+id/release_notes_carousel"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_marginTop="@dimen/release_notes_vertical_margin_small"
        android:layout_marginBottom="@dimen/release_notes_vertical_margin"
        app:layout_constraintBottom_toTopOf="@id/release_notes_carousel_indicator"
        app:layout_constraintTop_toBottomOf="@id/release_notes_btn_close" />

</androidx.constraintlayout.widget.ConstraintLayout>
