Correct audio player cover scaling reported in AntennaPod/AntennaPod#621
The former scaling would scale the image so that width and height of the cover would be at least as large as the view. Now, the covers dimensions will be equal or less than the dimensions of the cover view.
This commit is contained in:
parent
c9e8af52c2
commit
6621df48fc
|
@ -13,7 +13,7 @@
|
|||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerCrop"
|
||||
android:scaleType="centerInside"
|
||||
tools:src="@android:drawable/sym_def_app_icon" />
|
||||
|
||||
</RelativeLayout>
|
Loading…
Reference in New Issue