次の方法で共有


View.BackgroundTintBlendMode Property

Definition

Return the blending mode used to apply the tint to the background drawable, if specified. -or- Specifies the blending mode used to apply the tint specified by #setBackgroundTintList(ColorStateList)} to the background drawable.

public virtual Android.Graphics.BlendMode? BackgroundTintBlendMode { [Android.Runtime.Register("getBackgroundTintBlendMode", "()Landroid/graphics/BlendMode;", "GetGetBackgroundTintBlendModeHandler", ApiSince=29)] get; [Android.Runtime.Register("setBackgroundTintBlendMode", "(Landroid/graphics/BlendMode;)V", "GetSetBackgroundTintBlendMode_Landroid_graphics_BlendMode_Handler", ApiSince=29)] set; }
[<get: Android.Runtime.Register("getBackgroundTintBlendMode", "()Landroid/graphics/BlendMode;", "GetGetBackgroundTintBlendModeHandler", ApiSince=29)>]
[<set: Android.Runtime.Register("setBackgroundTintBlendMode", "(Landroid/graphics/BlendMode;)V", "GetSetBackgroundTintBlendMode_Landroid_graphics_BlendMode_Handler", ApiSince=29)>]
member this.BackgroundTintBlendMode : Android.Graphics.BlendMode with get, set

Property Value

the blending mode used to apply the tint to the background drawable, null if no blend has previously been configured

Attributes

Remarks

Property getter documentation:

Return the blending mode used to apply the tint to the background drawable, if specified.

Java documentation for android.view.View.getBackgroundTintBlendMode().

Property setter documentation:

Specifies the blending mode used to apply the tint specified by #setBackgroundTintList(ColorStateList)} to the background drawable. The default mode is BlendMode#SRC_IN.

Java documentation for android.view.View.setBackgroundTintBlendMode(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