Add bottom padding to instructions list

This commit is contained in:
Kirill Kamakin
2021-11-20 22:52:39 +03:00
parent 35612d14ad
commit 5067e1e98f
2 changed files with 2 additions and 0 deletions

View File

@@ -86,6 +86,7 @@
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/instructions_header" app:layout_constraintTop_toBottomOf="@+id/instructions_header"
android:paddingBottom="@dimen/bottom_padding_instructions_list_fragment_recipe_info"
tools:itemCount="2" tools:itemCount="2"
tools:listitem="@layout/view_holder_instruction" /> tools:listitem="@layout/view_holder_instruction" />
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>

View File

@@ -4,4 +4,5 @@
<dimen name="width_view_holder_recipe_image">360dp</dimen> <dimen name="width_view_holder_recipe_image">360dp</dimen>
<dimen name="height_view_holder_recipe_image">180dp</dimen> <dimen name="height_view_holder_recipe_image">180dp</dimen>
<dimen name="fragment_recipe_info_image_height">@dimen/height_view_holder_recipe_image</dimen> <dimen name="fragment_recipe_info_image_height">@dimen/height_view_holder_recipe_image</dimen>
<dimen name="bottom_padding_instructions_list_fragment_recipe_info">30dp</dimen>
</resources> </resources>