If I request a run dialog similar to this in my main activity, then it will display as expected:
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS); setProgressBarIndeterminateVisibility(true);
But if I set the visibility to "false" and then reset to "true" inside the called procedure in which I want to deploy it, nothing is displayed. Moving the requestWindowFeature method to a procedure throws an exception. How am I supposed to do this?
source share