1<?xml version="1.0" encoding="utf-8"?> 2<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 xmlns:app="http://schemas.android.com/apk/res-auto" 4 xmlns:tools="http://schemas.android.com/tools" 5 android:layout_width="match_parent" 6 android:layout_height="match_parent" 7 tools:context="com.google.oboe.samples.rhythmgame.MainActivity"> 8 9 <com.google.oboe.samples.rhythmgame.GameSurfaceView 10 android:id="@+id/glSurfaceView" 11 android:layout_width="match_parent" 12 android:layout_centerHorizontal="true" 13 android:layout_centerVertical="true" 14 android:layout_marginBottom="0dp" 15 android:layout_marginEnd="0dp" 16 android:layout_marginStart="0dp" 17 android:layout_marginTop="0dp" 18 app:layout_constraintBottom_toBottomOf="parent" 19 app:layout_constraintEnd_toEndOf="parent" 20 app:layout_constraintStart_toStartOf="parent" 21 app:layout_constraintTop_toTopOf="parent" 22 android:layout_height="match_parent" /> 23 24 <TextView 25 android:id="@+id/instructionsBlock" 26 android:layout_width="294dp" 27 android:layout_height="159dp" 28 android:layout_marginStart="16dp" 29 android:layout_marginTop="16dp" 30 android:clickable="false" 31 android:ems="10" 32 android:focusable="false" 33 android:gravity="start|top" 34 android:inputType="textMultiLine" 35 android:text="See https://github.com/google/oboe/blob/main/samples/RhythmGame/README.md for instructions. There is a link to a codelab to follow along with." 36 android:textColor="#FFFFFF" 37 app:layout_constraintStart_toStartOf="parent" 38 app:layout_constraintTop_toTopOf="parent" /> 39 40</androidx.constraintlayout.widget.ConstraintLayout> 41