mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Center crop images (#2924)
This commit is contained in:
parent
bb7ab62b34
commit
5419733299
3 changed files with 3 additions and 2 deletions
|
|
@ -22,7 +22,7 @@
|
|||
android:id="@+id/mediaDetailImage"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:actualImageScaleType="fitXY"
|
||||
app:actualImageScaleType="centerCrop"
|
||||
/>
|
||||
|
||||
<ScrollView
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
android:id="@+id/categoryImageView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="240dp"
|
||||
app:actualImageScaleType="centerCrop"
|
||||
/>
|
||||
|
||||
<LinearLayout
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
android:id="@+id/contributionImage"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="240dp"
|
||||
app:actualImageScaleType="fitXY"
|
||||
app:actualImageScaleType="centerCrop"
|
||||
fresco:placeholderImage="@drawable/ic_image_black_24dp"
|
||||
/>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue