Anyone knows how to show the loading animation in ImageView just like the animation in loading dialog box?
I am developing an activity that contains a view flipper. The view flipper contains several imageviews and it allows user to view different images by fling gesture event. All the images will be downloaded from the remote server via async task when the activity is created. I would like to show loading animation in all imageviews that does not contain image.
Here’s a hint: use
FrameLayoutwith anImageViewon background and a spinnerProgress Baron foreground. While the image is being loaded you can show the spinningProgress Bar, and when the image is loaded just make thisProgress Barinvisible. Hope this helps.