List of usage examples for android.view Window PROGRESS_VISIBILITY_OFF
int PROGRESS_VISIBILITY_OFF
To view the source code for android.view Window PROGRESS_VISIBILITY_OFF.
Click Source Link
From source file:android.app.Activity.java
/** * Sets the visibility of the progress bar in the title. * <p>//from ww w . j a v a 2s . c o m * In order for the progress bar to be shown, the feature must be requested * via {@link #requestWindowFeature(int)}. * * @param visible Whether to show the progress bars in the title. */ public final void setProgressBarVisibility(boolean visible) { getWindow().setFeatureInt(Window.FEATURE_PROGRESS, visible ? Window.PROGRESS_VISIBILITY_ON : Window.PROGRESS_VISIBILITY_OFF); }
From source file:android.app.Activity.java
/** * Sets the visibility of the indeterminate progress bar in the title. * <p>// w ww .j a v a2s . c o m * In order for the progress bar to be shown, the feature must be requested * via {@link #requestWindowFeature(int)}. * * @param visible Whether to show the progress bars in the title. */ public final void setProgressBarIndeterminateVisibility(boolean visible) { getWindow().setFeatureInt(Window.FEATURE_INDETERMINATE_PROGRESS, visible ? Window.PROGRESS_VISIBILITY_ON : Window.PROGRESS_VISIBILITY_OFF); }