Udostępnij za pośrednictwem


ProgressBar.IndeterminateTintList Property

Definition

Applies a tint to the indeterminate drawable.

public virtual Android.Content.Res.ColorStateList? IndeterminateTintList { [Android.Runtime.Register("getIndeterminateTintList", "()Landroid/content/res/ColorStateList;", "GetGetIndeterminateTintListHandler")] get; [Android.Runtime.Register("setIndeterminateTintList", "(Landroid/content/res/ColorStateList;)V", "GetSetIndeterminateTintList_Landroid_content_res_ColorStateList_Handler")] set; }
[<get: Android.Runtime.Register("getIndeterminateTintList", "()Landroid/content/res/ColorStateList;", "GetGetIndeterminateTintListHandler")>]
[<set: Android.Runtime.Register("setIndeterminateTintList", "(Landroid/content/res/ColorStateList;)V", "GetSetIndeterminateTintList_Landroid_content_res_ColorStateList_Handler")>]
member this.IndeterminateTintList : Android.Content.Res.ColorStateList with get, set

Property Value

the tint applied to the indeterminate drawable

Attributes

Remarks

Property getter documentation:

Java documentation for android.widget.ProgressBar.getIndeterminateTintList().

Property setter documentation:

Applies a tint to the indeterminate drawable. Does not modify the current tint mode, which is PorterDuff.Mode#SRC_IN by default.

Subsequent calls to #setIndeterminateDrawable(Drawable) will automatically mutate the drawable and apply the specified tint and tint mode using Drawable#setTintList(ColorStateList).

Java documentation for android.widget.ProgressBar.setIndeterminateTintList(android.content.res.ColorStateList).

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