共用方式為


ProgressBar.SetIndeterminateDrawableTiled(Drawable) Method

Definition

Define the tileable drawable used to draw the progress bar in indeterminate mode.

[Android.Runtime.Register("setIndeterminateDrawableTiled", "(Landroid/graphics/drawable/Drawable;)V", "GetSetIndeterminateDrawableTiled_Landroid_graphics_drawable_Drawable_Handler")]
public virtual void SetIndeterminateDrawableTiled (Android.Graphics.Drawables.Drawable? d);
[<Android.Runtime.Register("setIndeterminateDrawableTiled", "(Landroid/graphics/drawable/Drawable;)V", "GetSetIndeterminateDrawableTiled_Landroid_graphics_drawable_Drawable_Handler")>]
abstract member SetIndeterminateDrawableTiled : Android.Graphics.Drawables.Drawable -> unit
override this.SetIndeterminateDrawableTiled : Android.Graphics.Drawables.Drawable -> unit

Parameters

d
Drawable

the new drawable

Attributes

Remarks

Define the tileable drawable used to draw the progress bar in indeterminate mode.

If the drawable is a BitmapDrawable or contains BitmapDrawables, a tiled copy will be generated for display as a progress bar.

Java documentation for android.widget.ProgressBar.setIndeterminateDrawableTiled(android.graphics.drawable.Drawable).

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

See also