DishDelish/dishdelish-app

View on GitHub
app/src/main/res/layout/fragment_cook_now_step.xml

Summary

Maintainability
Test Coverage
<?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:layout_width="match_parent"
    android:layout_height="match_parent"
    android:padding="16dp">

    <TextView
        android:id="@+id/cookNowStepTitle"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        android:textSize="45sp"
        android:textStyle="bold">
    </TextView>

    <ScrollView
        android:id="@+id/cookNowStepContentContainer"
        android:layout_below="@+id/cookNowStepTitle"
        android:layout_width="wrap_content"
        android:layout_height="0dp"
        android:layout_marginTop="20dp"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/cookNowStepTitle"
        app:layout_constraintBottom_toBottomOf="parent"
        >
        <TextView
            android:id="@+id/cookNowStepContent"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            app:layout_constraintStart_toStartOf="parent"
            android:textSize="28sp"/>
    </ScrollView>

</androidx.constraintlayout.widget.ConstraintLayout>