I use Universal Image Loader to "lazily download" my images from the Internet. Is it possible to use attenuation in the animation, but disappear in the "black" rather than "off white"? My application has a black background, and I would like it to fade smoothly, and not βflashβ in what the current effect looks like.
Here is a code that works that fades from white
DisplayImageOptions options; options = new DisplayImageOptions.Builder() .showImageOnLoading(R.drawable.no_poster) .showImageForEmptyUri(R.drawable.no_poster) .showImageOnFail(R.drawable.no_poster) .displayer(new FadeInBitmapDisplayer(500)) .cacheInMemory(true) .cacheOnDisc(true) .build(); ImageView myPosterView = (ImageView)findViewById(R.id.movieposterlarge); imageLoader.displayImage(movie_poster, myPosterView,options);
source share