Share via


ProgressDialog.SetProgressStyle(ProgressDialogStyle) Método

Definición

Establece el estilo de este ProgressDialog, ya sea #STYLE_SPINNER o #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

Parámetros

style
ProgressDialogStyle

el estilo de este ProgressDialog, ya sea #STYLE_SPINNER o #STYLE_HORIZONTAL

Atributos

Comentarios

Establece el estilo de este ProgressDialog, ya sea #STYLE_SPINNER o #STYLE_HORIZONTAL. El valor predeterminado es #STYLE_SPINNER.

<strong>Note:</strong> A ProgressDialog with style #STYLE_SPINNER is always indeterminate and will ignore the #setIndeterminate(boolean) indeterminate setting.

Documentación de Java para android.app.ProgressDialog.setProgressStyle(int).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el proyecto de código Project y que se usan según los términos Creative Commons 2.5 Attribution License.

Se aplica a