From d4ff1cf14426e275178e3b0d0a9110ca7a689ad5 Mon Sep 17 00:00:00 2001 From: Dan Roundhill Date: Thu, 25 Sep 2014 17:04:47 -0700 Subject: [PATCH] Added image spans directly instead of using Html.fromHtml(). This allows for other block actions like linking to still work. I had to limit the image size to 240dp, otherwise the images would load blank white. --- .../src/main/java/org/wordpress/android/util/WPImageGetter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WordPressUtils/src/main/java/org/wordpress/android/util/WPImageGetter.java b/WordPressUtils/src/main/java/org/wordpress/android/util/WPImageGetter.java index 2ee6be0810dc..9705b0c25698 100644 --- a/WordPressUtils/src/main/java/org/wordpress/android/util/WPImageGetter.java +++ b/WordPressUtils/src/main/java/org/wordpress/android/util/WPImageGetter.java @@ -112,7 +112,7 @@ public void onResponse(ImageLoader.ImageContainer response, boolean isImmediate) return remote; } - private static class RemoteDrawable extends BitmapDrawable { + public static class RemoteDrawable extends BitmapDrawable { Drawable mRemoteDrawable; final Drawable mLoadingDrawable; final Drawable mFailedDrawable;