<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:gravity="center"
    android:background="@color/gray_1d"
    android:padding="16dp">

    <FrameLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        android:gravity="center">

        <TextView android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/changelog"
            android:textSize="14dp"
            android:textColor="@color/white"
            android:fontFamily="@font/inter_medium"
            android:layout_gravity="start"/>

        <TextView android:id="@+id/text_version"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            tools:text="100"
            android:textSize="14dp"
            android:textColor="@color/gray_67"
            android:fontFamily="@font/inter_regular"
            android:layout_gravity="end" />
    </FrameLayout>

    <FrameLayout
        android:layout_width="match_parent"
        android:layout_height="400dp"
        android:layout_marginTop="8dp"
        android:padding="8dp"
        android:background="@drawable/background_16_round_4dp"
        android:orientation="vertical">

        <TextView android:id="@+id/text_changelog"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:text="@string/some_example_changelog"
            android:textSize="14dp"
            android:fontFamily="@font/inter_regular"
            android:textColor="@color/white" />

        <ImageView android:id="@+id/image_spinner"
            android:layout_width="80dp"
            android:layout_height="80dp"
            app:srcCompat="@drawable/ic_loader_animated"
            android:layout_gravity="center" />
    </FrameLayout>

    <FrameLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        android:gravity="center">
        <Button
            android:id="@+id/button_previous"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="start"
            android:text="@string/previous"
            android:textSize="14dp"
            android:fontFamily="@font/inter_regular"
            android:textColor="@color/gray_e0"
            android:background="@color/transparent" />

        <Button
            android:id="@+id/button_next"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/next"
            android:layout_gravity="end"
            android:textSize="14dp"
            android:fontFamily="@font/inter_regular"
            android:textColor="@color/gray_e0"
            android:background="@color/transparent" />
    </FrameLayout>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        android:gravity="center"
        android:layout_marginTop="20dp">

        <Space
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="1" />

        <Button
            android:id="@+id/button_close"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/close"
            android:layout_marginEnd="10dp"
            android:textSize="14dp"
            android:fontFamily="@font/inter_regular"
            android:textColor="@color/colorPrimary"
            android:background="@color/transparent" />

        <LinearLayout
            android:id="@+id/button_update"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:background="@drawable/background_button_primary"
            android:clickable="true">

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="@string/update"
                android:textSize="14dp"
                android:textColor="@color/white"
                android:fontFamily="@font/inter_regular"
                android:paddingTop="10dp"
                android:paddingBottom="10dp"
                android:paddingStart="28dp"
                android:paddingEnd="28dp"/>
        </LinearLayout>
    </LinearLayout>
</LinearLayout>