Don't use TransitionDrawable when LoadImageView is not showing
This commit is contained in:
1 parent
02b5f6289e
commit
f2f7821b55
1 file changed
+1
-1
@@ -291,7 +291,7 @@ public class LoadImageView extends FixedAspectImageView implements Unikery<Image
|
||||
drawable = new PreciselyClipDrawable(drawable, mOffsetX, mOffsetY, mClipWidth, mClipHeight);
|
||||
}
|
||||
|
||||
if ((source == Conaco.SOURCE_DISK || source == Conaco.SOURCE_NETWORK)) {
|
||||
if ((source == Conaco.SOURCE_DISK || source == Conaco.SOURCE_NETWORK) && isShown()) {
|
||||
Drawable[] layers = new Drawable[2];
|
||||
layers[0] = new ColorDrawable(Color.TRANSPARENT);
|
||||
layers[1] = drawable;
|
||||
|
||||
Reference in new issue
Block a user