Yes. I am trying to make a FrameLayout that contains both ImageView and ProgressBar . In onCreate() I do imageView.setVisibility(View.INVISIBLE) , and then after loading the image, I do:
progress.setVisibility(View.INVISIBLE); imageView.setVisibility(View.VISIBLE);
In terms of threading, you should always use AsyncTask . This is easily the most difficult part of the process, although it is still quite manageable. Check out this answer for a complete list of codes.
source share