Udostępnij za pośrednictwem


Activity.SetProgressBarIndeterminate(Boolean) Method

Definition

Sets whether the horizontal progress bar in the title should be indeterminate (the circular is always indeterminate).

[Android.Runtime.Register("setProgressBarIndeterminate", "(Z)V", "")]
public void SetProgressBarIndeterminate (bool indeterminate);
[<Android.Runtime.Register("setProgressBarIndeterminate", "(Z)V", "")>]
member this.SetProgressBarIndeterminate : bool -> unit

Parameters

indeterminate
Boolean

Whether the horizontal progress bar should be indeterminate.

Attributes

Remarks

Sets whether the horizontal progress bar in the title should be indeterminate (the circular is always indeterminate).

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.setProgressBarIndeterminate(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