diff --git a/res/layout/cover_fragment.xml b/res/layout/cover_fragment.xml
index 8e4c15ae8..e449b44f4 100644
--- a/res/layout/cover_fragment.xml
+++ b/res/layout/cover_fragment.xml
@@ -23,12 +23,11 @@
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_below="@+id/txtvTitle"
- android:layout_marginBottom="8dp"
android:gravity="center_horizontal" />
+ android:adjustViewBounds="true"
+ android:scaleType="centerCrop" />
diff --git a/res/layout/feedlist_item_grid.xml b/res/layout/feedlist_item_grid.xml
index 5e0b72e1a..53e9eeb10 100644
--- a/res/layout/feedlist_item_grid.xml
+++ b/res/layout/feedlist_item_grid.xml
@@ -5,8 +5,8 @@
{
holder.newEpisodes.setVisibility(View.INVISIBLE);
}
holder.image.setTag(feed.getImage());
- if (PodcastApp.getInstance().isLargeScreen()) {
+ /*if (PodcastApp.getInstance().isLargeScreen()) {
imageLoader.loadCoverBitmap(feed.getImage(), holder.image);
- } else {
+
+ } else {*/
imageLoader.loadThumbnailBitmap(feed.getImage(), holder.image);
- }
+ //}
return convertView;
}
diff --git a/src/de/danoeh/antennapod/asynctask/BitmapDecodeWorkerTask.java b/src/de/danoeh/antennapod/asynctask/BitmapDecodeWorkerTask.java
index 5e99c52af..c18763d48 100644
--- a/src/de/danoeh/antennapod/asynctask/BitmapDecodeWorkerTask.java
+++ b/src/de/danoeh/antennapod/asynctask/BitmapDecodeWorkerTask.java
@@ -40,6 +40,9 @@ public abstract class BitmapDecodeWorkerTask extends Thread {
this.fileUrl = fileUrl;
this.baseLength = length;
this.PREFERRED_LENGTH = (int) (length * PodcastApp.getLogicalDensity() + 0.5f);
+ if (PodcastApp.getInstance().isLargeScreen()) {
+ this.PREFERRED_LENGTH *= 2.0;
+ }
}
/**
diff --git a/src/de/danoeh/antennapod/asynctask/FeedImageLoader.java b/src/de/danoeh/antennapod/asynctask/FeedImageLoader.java
index 76e44c443..4b6855a18 100644
--- a/src/de/danoeh/antennapod/asynctask/FeedImageLoader.java
+++ b/src/de/danoeh/antennapod/asynctask/FeedImageLoader.java
@@ -25,7 +25,7 @@ public class FeedImageLoader {
private static final String TAG = "FeedImageLoader";
private static FeedImageLoader singleton;
- public static final int LENGTH_BASE_COVER = 200;
+ public static final int LENGTH_BASE_COVER = 300;
public static final int LENGTH_BASE_THUMBNAIL = 100;
private static final String CACHE_DIR = "miroguide_thumbnails";
@@ -44,7 +44,7 @@ public class FeedImageLoader {
.getSystemService(Context.ACTIVITY_SERVICE)).getMemoryClass();
// Use 1/8th of the available memory for this memory cache.
- final int coverCacheSize = 1024 * 1024 * memClass / 10;
+ final int coverCacheSize = 1024 * 1024 * memClass / 8;
final int thumbnailCacheSize = 1024 * 1024 * memClass / 6;
private LruCache coverCache;