Android.App.Activity.SetSecondaryProgress Method
Sets the secondary progress for the progress bar in the title.

Syntax

[Android.Runtime.Register("setSecondaryProgress", "(I)V", "")]
public void SetSecondaryProgress (int secondaryProgress)

Parameters

secondaryProgress
The secondary progress for the progress bar. Valid ranges are from 0 to 10000 (both inclusive).

Remarks

Sets the secondary progress for the progress bar in the title. This progress is drawn between the primary progress (set via Activity.SetProgress(int) and the background. It can be ideal for media scenarios such as showing the buffering progress while the default progress shows the play progress.

In order for the progress bar to be shown, the feature must be requested via Activity.RequestWindowFeature(Android.Views.WindowFeatures).

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1