1<?xml version="1.0" encoding="utf-8"?> 2<androidx.constraintlayout.widget.ConstraintLayout 3 xmlns:android="http://schemas.android.com/apk/res/android" 4 xmlns:app="http://schemas.android.com/apk/res-auto" 5 android:layout_width="match_parent" 6 android:layout_height="match_parent" 7 android:background="?attr/surfaceHome"> 8 9 <androidx.constraintlayout.widget.ConstraintLayout 10 android:id="@+id/background" 11 android:layout_width="300dp" 12 android:layout_height="wrap_content" 13 android:layout_centerHorizontal="true" 14 android:layout_centerVertical="true" 15 android:background="@drawable/rotate_prompt_bg" 16 android:padding="24dp" 17 18 app:layout_constraintStart_toStartOf="parent" 19 app:layout_constraintTop_toTopOf="parent" 20 app:layout_constraintBottom_toBottomOf="parent" 21 app:layout_constraintEnd_toEndOf="parent"> 22 23 <ImageView 24 android:id="@+id/icon" 25 android:layout_width="wrap_content" 26 android:layout_height="wrap_content" 27 android:src="@drawable/rotate_tutorial_warning" 28 29 app:layout_constraintStart_toStartOf="parent" 30 app:layout_constraintTop_toTopOf="parent" 31 app:layout_constraintEnd_toEndOf="parent" /> 32 33 <TextView 34 android:id="@+id/rotate_title" 35 android:layout_width="wrap_content" 36 android:layout_height="wrap_content" 37 android:layout_marginTop="20dp" 38 android:lineSpacingExtra="2sp" 39 android:text="@string/gesture_tutorial_rotation_prompt_title" 40 android:textAppearance="@style/rotate_prompt_title" 41 42 app:layout_constraintStart_toStartOf="parent" 43 app:layout_constraintTop_toBottomOf="@id/icon" 44 app:layout_constraintEnd_toEndOf="parent" /> 45 46 <TextView 47 android:layout_width="wrap_content" 48 android:layout_height="wrap_content" 49 android:layout_marginTop="16dp" 50 android:gravity="center" 51 android:text="@string/gesture_tutorial_rotation_prompt" 52 android:textAppearance="@style/rotate_prompt_subtitle" 53 54 app:layout_constraintStart_toStartOf="parent" 55 app:layout_constraintTop_toBottomOf="@id/rotate_title" 56 app:layout_constraintEnd_toEndOf="parent" /> 57 58 </androidx.constraintlayout.widget.ConstraintLayout> 59 60</androidx.constraintlayout.widget.ConstraintLayout>