<?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.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" android:padding="32dp" tools:context=".EditChordFragment"> <!-- TODO: Update blank fragment layout --> <TextView android:id="@+id/textView4" android:layout_width="250dp" android:layout_height="wrap_content" android:text="@string/edit_chord" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> <Spinner android:id="@+id/pitchSpinner" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginStart="16dp" android:layout_marginTop="16dp" android:layout_marginEnd="16dp" android:contentDescription="@string/chord_pitch_description" android:minHeight="48dp" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@+id/textView5" app:layout_constraintTop_toBottomOf="@+id/textView4" /> <Spinner android:id="@+id/typeSpinner" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginStart="16dp" android:layout_marginTop="16dp" android:layout_marginEnd="16dp" android:contentDescription="@string/chord_type_description" android:minHeight="48dp" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@+id/textView6" app:layout_constraintTop_toBottomOf="@+id/pitchSpinner" /> <TextView android:id="@+id/textView5" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="24dp" android:text="@string/chord_pitch" app:layout_constraintBottom_toBottomOf="@+id/pitchSpinner" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="@+id/pitchSpinner" app:layout_constraintVertical_bias="0.551" /> <TextView android:id="@+id/textView6" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/chord_type" app:layout_constraintBottom_toBottomOf="@+id/typeSpinner" app:layout_constraintStart_toStartOf="@+id/textView5" app:layout_constraintTop_toTopOf="@+id/typeSpinner" /> <com.google.android.material.floatingactionbutton.FloatingActionButton android:id="@+id/exitButton" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="32dp" android:clickable="true" android:contentDescription="@string/exit" android:src="@android:drawable/ic_menu_close_clear_cancel" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/typeSpinner" /> </androidx.constraintlayout.widget.ConstraintLayout>