Udostępnij za pośrednictwem


ProgressBar.SecondaryProgressTintBlendMode Property

Definition

Returns the blending mode used to apply the tint to the secondary progress drawable, if specified. -or- Specifies the blending mode used to apply the tint specified by #setSecondaryProgressTintList(ColorStateList)} to the secondary progress indicator.

public virtual Android.Graphics.BlendMode? SecondaryProgressTintBlendMode { [Android.Runtime.Register("getSecondaryProgressTintBlendMode", "()Landroid/graphics/BlendMode;", "GetGetSecondaryProgressTintBlendModeHandler", ApiSince=29)] get; [Android.Runtime.Register("setSecondaryProgressTintBlendMode", "(Landroid/graphics/BlendMode;)V", "GetSetSecondaryProgressTintBlendMode_Landroid_graphics_BlendMode_Handler", ApiSince=29)] set; }
[<get: Android.Runtime.Register("getSecondaryProgressTintBlendMode", "()Landroid/graphics/BlendMode;", "GetGetSecondaryProgressTintBlendModeHandler", ApiSince=29)>]
[<set: Android.Runtime.Register("setSecondaryProgressTintBlendMode", "(Landroid/graphics/BlendMode;)V", "GetSetSecondaryProgressTintBlendMode_Landroid_graphics_BlendMode_Handler", ApiSince=29)>]
member this.SecondaryProgressTintBlendMode : Android.Graphics.BlendMode with get, set

Property Value

the blending mode used to apply the tint to the secondary progress drawable

Attributes

Remarks

Property getter documentation:

Returns the blending mode used to apply the tint to the secondary progress drawable, if specified.

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

Property setter documentation:

Specifies the blending mode used to apply the tint specified by #setSecondaryProgressTintList(ColorStateList)} to the secondary progress indicator. The default mode is PorterDuff.Mode#SRC_ATOP.

Java documentation for android.widget.ProgressBar.setSecondaryProgressTintBlendMode(android.graphics.BlendMode).

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