Good practices for managing activity load time

view story

http://stackoverflow.com – I have been reading lot of answers to get this solved, but somehow I didn't get a proper solution. I am a beginer and may be for that reason. I am creating a new activity B on a button click on activity A. B has lot of UI. So it takes around 10 seconds to load. It shows a black screen till. public class B extends Activity { Dialog dialog_sec1__participant_name; Dialog dialog_sec1__fathers_name; Dialog dialog_sec1_address; . . . . //lot more Button btn_section_preview; Button btn_sec1_address; . . //lot more CustomObj mObject = null; (HowTos)