I would like to show a progress dialog or bar in the main activity of a tabhost based app, while the tabs are loaded.
I have tried: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS); //requestWindowFeature(Window.FEATURE_PROGRESS); //setProgressBarVisibility(true); setContentView(R.layout.main); myProgressDialog = ProgressDialog.show( Activity.this, "Please wait...", "Loading Tabs...", true); doCalc(); myProgressDialog.dismiss(); setTabs(); } //END onCreate In all cases, the initial screen stays blank until the first tab activity gets loaded. Adding a text view would also work, but the textview then shows up on each the views of the tab activities. Is there a way of doing this? Thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en