app/src/main/res/layout/edit_post.xml
<?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">
<EditText
android:id="@+id/post_name"
android:layout_width="143dp"
android:layout_height="46dp"
android:layout_marginStart="44dp"
android:layout_marginTop="84dp"
android:text="Title"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<EditText
android:id="@+id/edit_number_players"
android:layout_width="126dp"
android:layout_height="38dp"
android:layout_marginTop="84dp"
android:layout_marginEnd="56dp"
android:ems="10"
android:inputType="number"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<Spinner
android:id="@+id/edit_sport"
android:layout_width="145dp"
android:layout_height="29dp"
android:layout_marginTop="196dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.165"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<Button
android:id="@+id/update_post"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="248dp"
android:layout_marginBottom="48dp"
android:text="Update"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent" />
<TextView
android:id="@+id/textView3"
android:layout_width="126dp"
android:layout_height="21dp"
android:layout_marginStart="44dp"
android:layout_marginTop="48dp"
android:text="Title "
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/textView12"
android:layout_width="135dp"
android:layout_height="22dp"
android:layout_marginTop="48dp"
android:layout_marginEnd="56dp"
android:text="max # of players"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/textView13"
android:layout_width="109dp"
android:layout_height="22dp"
android:layout_marginStart="44dp"
android:layout_marginTop="152dp"
android:text="Change Sport"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/textView14"
android:layout_width="84dp"
android:layout_height="19dp"
android:layout_marginTop="152dp"
android:layout_marginEnd="96dp"
android:text="Change Date"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<EditText
android:id="@+id/editTextTextPersonName"
android:layout_width="127dp"
android:layout_height="41dp"
android:layout_marginTop="184dp"
android:layout_marginEnd="56dp"
android:ems="10"
android:inputType="textPersonName"
android:text="Date"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<Button
android:id="@+id/button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="68dp"
android:layout_marginBottom="48dp"
android:text="Back"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/game_players"
android:layout_width="358dp"
android:layout_height="223dp"
android:layout_marginStart="36dp"
android:layout_marginTop="292dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>