Switch.TrackTintMode Property

Definition

Specifies the blending mode used to apply the tint specified by setTrackTintList(ColorStateList) } to the track drawable. The default mode is PorterDuff.Mode.SRC_IN . Related XML Attributes: See also:

public virtual Android.Graphics.PorterDuff.Mode? TrackTintMode { [Android.Runtime.Register("getTrackTintMode", "()Landroid/graphics/PorterDuff$Mode;", "GetGetTrackTintModeHandler", ApiSince=23)] get; [Android.Runtime.Register("setTrackTintMode", "(Landroid/graphics/PorterDuff$Mode;)V", "GetSetTrackTintMode_Landroid_graphics_PorterDuff_Mode_Handler", ApiSince=23)] set; }
[<get: Android.Runtime.Register("getTrackTintMode", "()Landroid/graphics/PorterDuff$Mode;", "GetGetTrackTintModeHandler", ApiSince=23)>]
[<set: Android.Runtime.Register("setTrackTintMode", "(Landroid/graphics/PorterDuff$Mode;)V", "GetSetTrackTintMode_Landroid_graphics_PorterDuff_Mode_Handler", ApiSince=23)>]
member this.TrackTintMode : Android.Graphics.PorterDuff.Mode with get, set

Property Value

the blending mode used to apply the tint to the track drawable

Attributes

Remarks

Java documentation for android.widget.Switch.getTrackTintMode().

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