app/src/main/res/layout/dialog_review_recipe.xml
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="20dp">
<TextView
android:id="@+id/reviewRecipeTitle"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginTop="20dp"
android:text="@string/reviewRecipePageTitle"
android:textSize="34sp"
android:textStyle="bold"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<LinearLayout
android:id="@+id/reviewRecipeNameContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginTop="20dp"
android:orientation="vertical"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/reviewRecipeTitle">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/reviewRecipePageRecipeName"
android:textSize="18sp"
android:textStyle="bold" />
<TextView
android:id="@+id/reviewRecipeName"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>
<LinearLayout
android:id="@+id/reviewRecipePrepTimeContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginTop="20dp"
android:orientation="vertical"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/reviewRecipeNameContainer">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/reviewPrepTime"
android:textSize="18sp"
android:textStyle="bold" />
<TextView
android:id="@+id/reviewRecipePrepTime"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>
<LinearLayout
android:id="@+id/reviewRecipeCookTimeContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginTop="20dp"
android:orientation="vertical"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/reviewRecipePrepTimeContainer">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/reviewCookTime"
android:textSize="18sp"
android:textStyle="bold" />
<TextView
android:id="@+id/reviewRecipeCookTime"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>
<LinearLayout
android:id="@+id/reviewRecipeIngredientsContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginTop="20dp"
android:orientation="vertical"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/reviewRecipeCookTimeContainer">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/reviewIngredients"
android:textSize="18sp"
android:textStyle="bold" />
<TextView
android:id="@+id/reviewRecipeIngredients"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>
<LinearLayout
android:id="@+id/reviewRecipeUtensilsContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginTop="20dp"
android:orientation="vertical"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/reviewRecipeIngredientsContainer">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/reviewUtensils"
android:textSize="18sp"
android:textStyle="bold" />
<TextView
android:id="@+id/reviewRecipeUtensils"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>
<LinearLayout
android:id="@+id/reviewRecipeCuisineTypesContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginTop="20dp"
android:orientation="vertical"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/reviewRecipeUtensilsContainer">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/reviewCuisineTypes"
android:textSize="18sp"
android:textStyle="bold" />
<TextView
android:id="@+id/reviewRecipeCuisineTypes"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>
<LinearLayout
android:id="@+id/reviewRecipeAllergyTypesContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginTop="20dp"
android:orientation="vertical"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/reviewRecipeCuisineTypesContainer">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/reviewAllergyTypes"
android:textSize="18sp"
android:textStyle="bold" />
<TextView
android:id="@+id/reviewRecipeAllergyTypes"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>
<LinearLayout
android:id="@+id/reviewRecipeDietTypesContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginTop="20dp"
android:orientation="vertical"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/reviewRecipeAllergyTypesContainer">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/reviewDietTypes"
android:textSize="18sp"
android:textStyle="bold" />
<TextView
android:id="@+id/reviewRecipeDietTypes"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>
<LinearLayout
android:id="@+id/reviewRecipeStepsContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginTop="20dp"
android:orientation="vertical"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/reviewRecipeDietTypesContainer">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/reviewStep"
android:textSize="18sp"
android:textStyle="bold" />
<TextView
android:id="@+id/reviewRecipeSteps"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>
<LinearLayout
android:id="@+id/reviewRecipeServingsContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginTop="20dp"
android:orientation="vertical"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/reviewRecipeStepsContainer">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/reviewServings"
android:textSize="18sp"
android:textStyle="bold" />
<TextView
android:id="@+id/reviewRecipeServings"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>
<LinearLayout
android:id="@+id/reviewRecipeImageContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginTop="20dp"
android:gravity="center_horizontal"
android:orientation="vertical"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/reviewRecipeServingsContainer">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/reviewImage"
android:textSize="18sp"
android:textStyle="bold" />
<ImageView
android:id="@+id/reviewRecipeImage"
android:layout_width="200dp"
android:layout_height="200dp" />
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</ScrollView>