app/src/main/res/layout/recipe_step_edittext.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"
android:id="@+id/step"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:theme="@style/Theme.SDPBootcamp">
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/stepContent"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:hint="@string/ingredientsNameHint"
android:textColorHint="#8e9094"
app:layout_constraintEnd_toStartOf="@id/removeStep"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text|textMultiLine" />
</com.google.android.material.textfield.TextInputLayout>
<ImageView
android:id="@+id/removeStep"
android:layout_width="25dp"
android:layout_height="25dp"
android:layout_marginStart="10dp"
android:layout_marginTop="20dp"
android:src="@drawable/close"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/stepContent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>