Android.App.Activity.SetProgress Method
Sets the progress for the progress bars in the title.

Syntax

[Android.Runtime.Register("setProgress", "(I)V", "")]
public void SetProgress (int progress)

Parameters

progress
The progress for the progress bar. Valid ranges are from 0 to 10000 (both inclusive). If 10000 is given, the progress bar will be completely filled and will fade out.

Remarks

Sets the progress for the progress bars in the title.

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