diff --git a/res/layout/miroguide_channellist_item.xml b/res/layout/miroguide_channellist_item.xml index 1d52ff695..2122b4866 100644 --- a/res/layout/miroguide_channellist_item.xml +++ b/res/layout/miroguide_channellist_item.xml @@ -12,6 +12,8 @@ android:layout_centerVertical="true" android:layout_marginLeft="1dip" android:layout_marginRight="4dip" + android:scaleType="fitXY" + android:adjustViewBounds="true" android:src="@drawable/default_cover" /> srcWidth || preferredLength > srcHeight) { - return decodedBitmap; - } else { + return Bitmap.createScaledBitmap(decodedBitmap, preferredLength, preferredLength, false); - } + } else { return null; }