cred05
Well-Known Member
I'm trying to have a horizontal progressdialog load as the webpage loads. I basically want to use getWindow().requestFeature(Window.FEATURE_PROGRESS); but inside the progressdialog. Any help would be appreciated.
Here is what I have right now:
pd = new ProgressDialog(AppName.this);
pd.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
pd.setMessage("Loading. Please wait...");
pd.setCancelable(true);
pd.show();
if I add pd.incrementProgressBy(Window.FEATURE_PROGRESS); it fills it up to 2% and then stops there.
Here is what I have right now:
pd = new ProgressDialog(AppName.this);
pd.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
pd.setMessage("Loading. Please wait...");
pd.setCancelable(true);
pd.show();
if I add pd.incrementProgressBy(Window.FEATURE_PROGRESS); it fills it up to 2% and then stops there.