Use center crop for recipe images
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/image"
|
||||
android:scaleType="centerCrop"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/fragment_recipe_info_image_height"
|
||||
android:layout_marginBottom="@dimen/margin_small"
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_marginEnd="13dp"
|
||||
android:contentDescription="@string/content_description_view_holder_recipe_image"
|
||||
android:scaleType="centerCrop"
|
||||
app:layout_constraintBottom_toTopOf="@+id/name"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
||||
Reference in New Issue
Block a user