次の方法で共有


ProgressBar.SetProgressDrawableTiled(Drawable) Method

Definition

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

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

Parameters

d
Drawable

the new drawable

Attributes

Remarks

Define the tileable drawable used to draw the progress bar in progress 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.setProgressDrawableTiled(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