

You can set the failure image scale type using failureImageInitScaleType attribute, Nothing is displayed when the request fails.

It will displayed using an ImageView when the image network request fails. You can set a local failure image using failureImage attribute, or setFailureImage. Treated as centerInside, while other scale types may be used by animated image types. Note: SSIV only support centerCrop, centerInside, custom and start, other scale types are Scale the image so that both dimensions of the image will be equal to or larger than the corresponding dimension of the view. Scale the image so that both dimensions of the image will be equal to or less than the maxScale and equal to or larger than minScale. This may change the aspect ratio of the image. Scales width and height independently, so that the image matches the parent exactly. Image is aligned to the top-left corner of the parent. At least one dimension (width or height) will fit exactly. Scales the image so that it fits entirely inside the parent. Image is aligned to the bottom-right corner of the parent. Image is centered within the parent's bounds. Scale the image uniformly (maintain the image's aspect ratio) so that both dimensions (width and height) of the image will be equal to or less than the corresponding dimension of the view (minus padding). Scale the image uniformly (maintain the image's aspect ratio) so that both dimensions (width and height) of the image will be equal to or larger than the corresponding dimension of the view (minus padding). INIT_SCALE_TYPE_CENTER_CROP) valueĬenter the image in the view, but perform no scaling.
