Share via


Activity.SetProgressBarVisibility(Boolean) Method

Definition

Sets the visibility of the progress bar in the title.

[Android.Runtime.Register("setProgressBarVisibility", "(Z)V", "")]
public void SetProgressBarVisibility (bool visible);
[<Android.Runtime.Register("setProgressBarVisibility", "(Z)V", "")>]
member this.SetProgressBarVisibility : bool -> unit

Parameters

visible
Boolean

Whether to show the progress bars in the title.

Attributes

Remarks

Sets the visibility of the progress bar in the title.

In order for the progress bar to be shown, the feature must be requested via #requestWindowFeature(int).

This member is deprecated. No longer supported starting in API 21.

Java documentation for android.app.Activity.setProgressBarVisibility(boolean).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to