ProgressDialog.SetProgressStyle(ProgressDialogStyle) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the style of this ProgressDialog, either #STYLE_SPINNER
or
#STYLE_HORIZONTAL
.
[Android.Runtime.Register("setProgressStyle", "(I)V", "GetSetProgressStyle_IHandler")]
public virtual void SetProgressStyle (Android.App.ProgressDialogStyle style);
[<Android.Runtime.Register("setProgressStyle", "(I)V", "GetSetProgressStyle_IHandler")>]
abstract member SetProgressStyle : Android.App.ProgressDialogStyle -> unit
override this.SetProgressStyle : Android.App.ProgressDialogStyle -> unit
Parameters
- style
- ProgressDialogStyle
the style of this ProgressDialog, either #STYLE_SPINNER
or
#STYLE_HORIZONTAL
- Attributes
Remarks
Sets the style of this ProgressDialog, either #STYLE_SPINNER
or #STYLE_HORIZONTAL
. The default is #STYLE_SPINNER
.
<strong>Note:</strong> A ProgressDialog with style #STYLE_SPINNER
is always indeterminate and will ignore the #setIndeterminate(boolean) indeterminate
setting.
Java documentation for android.app.ProgressDialog.setProgressStyle(int)
.
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.