| <?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"> |
| |
| <TextView |
| android:id="@+id/text" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="Hello World!" |
| app:layout_constraintLeft_toLeftOf="parent" |
| app:layout_constraintRight_toRightOf="parent" |
| app:layout_constraintTop_toTopOf="parent" /> |
| <ImageView |
| android:id="@+id/image" |
| android:layout_width="400px" |
| android:layout_height="400px" |
| app:layout_constraintLeft_toLeftOf="parent" |
| app:layout_constraintTop_toTopOf="parent"> |
| </ImageView> |
| <SurfaceView |
| android:id="@+id/surface" |
| android:layout_width="200px" |
| android:layout_height="200px" |
| app:layout_constraintLeft_toLeftOf="parent" |
| app:layout_constraintTop_toBottomOf="@+id/image"> |
| </SurfaceView> |
| <org.skia.androidkitdemo1.NavigationSpinner |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| app:layout_constraintBottom_toBottomOf="parent"> |
| </org.skia.androidkitdemo1.NavigationSpinner> |
| |
| </android.support.constraint.ConstraintLayout> |