diff options
author | Martin Fietz <Martin.Fietz@gmail.com> | 2015-02-28 13:40:52 +0100 |
---|---|---|
committer | Martin Fietz <Martin.Fietz@gmail.com> | 2015-02-28 13:40:52 +0100 |
commit | 6621df48fcdc44d8f7cd2c6254349d54f3a03b07 (patch) | |
tree | c1ab4dd140bf15c076205c63bd40a856e786de63 /app/src/main | |
parent | c9e8af52c24b405c65fc9220a6c5c573574df672 (diff) | |
download | AntennaPod-6621df48fcdc44d8f7cd2c6254349d54f3a03b07.zip |
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.
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/res/layout/cover_fragment.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/res/layout/cover_fragment.xml b/app/src/main/res/layout/cover_fragment.xml index 7d86346e3..18540aa1f 100644 --- a/app/src/main/res/layout/cover_fragment.xml +++ b/app/src/main/res/layout/cover_fragment.xml @@ -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>
\ No newline at end of file |