共用方式為


Activity.SetProgressBarIndeterminateVisibility(Boolean) Method

Definition

Sets the visibility of the indeterminate progress bar in the title.

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

Parameters

visible
Boolean

Whether to show the progress bars in the title.

Attributes

Remarks

Sets the visibility of the indeterminate 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.setProgressBarIndeterminateVisibility(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