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:
Martin Fietz 2015-02-28 13:40:52 +01:00
parent c9e8af52c2
commit 6621df48fc
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_gravity="center" android:layout_gravity="center"
android:adjustViewBounds="true" android:adjustViewBounds="true"
android:scaleType="centerCrop" android:scaleType="centerInside"
tools:src="@android:drawable/sym_def_app_icon" /> tools:src="@android:drawable/sym_def_app_icon" />
</RelativeLayout> </RelativeLayout>