| <?xml version="1.0" encoding="utf-8"?> |
| <android.support.constraint.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"> |
| |
| <LinearLayout |
| android:orientation="vertical" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent"> |
| <ScrollView |
| android:layout_width="match_parent" |
| android:layout_height="match_parent"> |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="vertical" |
| android:id="@+id/skottie_container"> |
| |
| <android.support.constraint.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> |
| </android.support.constraint.ConstraintLayout> |
| |
| <android.support.constraint.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 AndroidKit's native code" |
| app:layout_constraintLeft_toRightOf="@+id/threadedSurface" |
| app:layout_constraintRight_toRightOf="parent" |
| app:layout_constraintTop_toTopOf="parent"> |
| </TextView> |
| </android.support.constraint.ConstraintLayout> |
| |
| |
| <android.support.constraint.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 AndroidKit's\nutil thread. GL on Surface View."> |
| </TextView> |
| |
| </android.support.constraint.ConstraintLayout> |
| </LinearLayout> |
| </ScrollView> |
| </LinearLayout> |
| </android.support.constraint.ConstraintLayout> |