get drawable exactly the size of the imageView to use as a placeholder
问题 I am using Universal Image View to load images into my application. This is the method I implemented public static void setBitmapToAImageviewUIL(final ImageView imageView, String uriPath, String imageName) { if(imageName != null && !imageName.equals("")) { //We use the local image as a temporary placeholder DisplayImageOptions options = new DisplayImageOptions.Builder() .showStubImage(Utilities.getDrawableResource(imageName)) .cacheOnDisc() .cacheInMemory() .imageScaleType(ImageScaleType