diff --git a/android/app/src/main/res/layout/fragment_making_step.xml b/android/app/src/main/res/layout/fragment_making_step.xml index 057e89e1..fcd5f9db 100644 --- a/android/app/src/main/res/layout/fragment_making_step.xml +++ b/android/app/src/main/res/layout/fragment_making_step.xml @@ -1,86 +1,155 @@ + + + + - + android:layout_height="match_parent"> - - - - + android:layout_height="wrap_content" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" + app:appbarEventListener="@{appbarEventListener}" + app:leftIcon="@{@drawable/ic_close}" + app:rightIcon="@{@drawable/ic_complete_making}" + app:title="@{@string/making_step_title}" /> - - - - + - + + + + + + + + + + + + + + + + app:layout_constraintTop_toTopOf="parent" + bind:visibility="@{vm.stepNumber != 1}" /> - + + app:layout_constraintHorizontal_chainStyle="spread" + app:layout_constraintHorizontal_weight="4" + app:layout_constraintStart_toEndOf="@id/btn_back_step_making_recipe" + app:layout_constraintTop_toTopOf="parent" + bind:visibility="@{vm.stepNumber != vm.maxStepPage}" /> - + +