<?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"
    tools:context=".MainActivity">
    <ScrollView
        android:layout_width="match_parent"
        android:layout_height="0dp"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintBottom_toTopOf="@+id/navigator">
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical"
            android:id="@+id/skottie_container">

            <androidx.constraintlayout.widget.ConstraintLayout
                android:layout_marginTop="50px"
                android:layout_width="match_parent"
                android:layout_height="wrap_content">
                <ImageView
                    android:id="@+id/bitmapImage"
                    android:layout_width="400px"
                    android:layout_height="400px"
                    app:layout_constraintLeft_toLeftOf="parent"
                    app:layout_constraintTop_toTopOf="parent">
                </ImageView>
                <TextView
                    android:layout_width="0dp"
                    android:layout_height="wrap_content"
                    android:layout_marginLeft="50px"
                    app:layout_constraintLeft_toRightOf="@+id/bitmapImage"
                    app:layout_constraintRight_toRightOf="parent"
                    app:layout_constraintTop_toTopOf="parent"
                    android:text="ImageView populated by bitmap">
                </TextView>
            </androidx.constraintlayout.widget.ConstraintLayout>

            <androidx.constraintlayout.widget.ConstraintLayout
                android:layout_marginTop="50px"
                android:layout_width="match_parent"
                android:layout_height="wrap_content">
                <SurfaceView
                    android:id="@+id/threadedSurface"
                    android:layout_width="400px"
                    android:layout_height="400px"
                    app:layout_constraintLeft_toLeftOf="parent"
                    app:layout_constraintTop_toTopOf="parent">
                </SurfaceView>

                <TextView
                    android:layout_width="0dp"
                    android:layout_height="wrap_content"
                    android:layout_marginLeft="50px"
                    android:text="SurfaceView drawn on a thread managed by JetSki's native code"
                    app:layout_constraintLeft_toRightOf="@+id/threadedSurface"
                    app:layout_constraintRight_toRightOf="parent"
                    app:layout_constraintTop_toTopOf="parent">
                </TextView>
            </androidx.constraintlayout.widget.ConstraintLayout>


            <androidx.constraintlayout.widget.ConstraintLayout
                android:layout_marginTop="50px"
                android:layout_width="match_parent"
                android:layout_height="wrap_content">
                <SurfaceView
                    android:id="@+id/runtimeEffect"
                    android:layout_width="400px"
                    android:layout_height="400px"
                    app:layout_constraintLeft_toLeftOf="parent"
                    app:layout_constraintTop_toTopOf="parent">
                </SurfaceView>
                <TextView
                    android:layout_width="0dp"
                    android:layout_height="wrap_content"
                    android:layout_marginLeft="50px"
                    app:layout_constraintLeft_toRightOf="@+id/runtimeEffect"
                    app:layout_constraintRight_toRightOf="parent"
                    app:layout_constraintTop_toTopOf="parent"
                    android:text="Runtime effect drawn on a JetSki's\nutil thread. GL on Surface View.">
                </TextView>
            </androidx.constraintlayout.widget.ConstraintLayout>

            <org.skia.jetski.util.SkottieView
                android:layout_width="400px"
                android:layout_height="400px"
                app:background_color="#fefefe"
                app:src="@raw/permission">
            </org.skia.jetski.util.SkottieView>

        </LinearLayout>
    </ScrollView>
    <org.skia.jetskidemo.NavigationSpinner
        android:id="@+id/navigator"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        app:layout_constraintBottom_toBottomOf="parent">
    </org.skia.jetskidemo.NavigationSpinner>
</androidx.constraintlayout.widget.ConstraintLayout>