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 xmlns:tools="http://schemas.android.com/tools" 6 android:layout_width="match_parent" 7 android:layout_height="match_parent" 8 tools:context=".NavigationFragment"> 9 10 <SurfaceView 11 android:id="@+id/nav_surface" 12 android:layout_width="match_parent" 13 android:layout_height="match_parent"/> 14 15 <ProgressBar 16 android:id="@+id/progress_bar" 17 android:layout_width="wrap_content" 18 android:layout_height="wrap_content" 19 app:layout_constraintVertical_chainStyle="packed" 20 app:layout_constraintLeft_toLeftOf="parent" 21 app:layout_constraintRight_toRightOf="parent" 22 app:layout_constraintTop_toTopOf="parent" 23 app:layout_constraintBottom_toTopOf="@+id/message"/> 24 25 <TextView 26 android:id="@+id/message" 27 android:layout_width="wrap_content" 28 android:layout_height="wrap_content" 29 android:text="@string/select_nav_app" 30 app:layout_constraintBottom_toBottomOf="parent" 31 app:layout_constraintLeft_toLeftOf="parent" 32 app:layout_constraintRight_toRightOf="parent" 33 app:layout_constraintTop_toBottomOf="@+id/progress_bar"/> 34 35 <ImageView 36 android:layout_width="match_parent" 37 android:layout_height="@dimen/navigation_gradient_height" 38 android:src="@drawable/gradient_top" 39 app:layout_constraintTop_toTopOf="parent"/> 40 41 <ImageView 42 android:layout_width="match_parent" 43 android:layout_height="@dimen/navigation_gradient_height" 44 android:src="@drawable/gradient_bottom" 45 app:layout_constraintBottom_toBottomOf="parent"/> 46 47</androidx.constraintlayout.widget.ConstraintLayout>