Udostępnij za pośrednictwem


Switch.ThumbDrawable Property

Definition

Get the drawable used for the switch "thumb" - the piece that the user can physically touch and drag along the track. -or- Set the drawable used for the switch "thumb" - the piece that the user can physically touch and drag along the track.

public virtual Android.Graphics.Drawables.Drawable? ThumbDrawable { [Android.Runtime.Register("getThumbDrawable", "()Landroid/graphics/drawable/Drawable;", "GetGetThumbDrawableHandler")] get; [Android.Runtime.Register("setThumbDrawable", "(Landroid/graphics/drawable/Drawable;)V", "GetSetThumbDrawable_Landroid_graphics_drawable_Drawable_Handler")] set; }
[<get: Android.Runtime.Register("getThumbDrawable", "()Landroid/graphics/drawable/Drawable;", "GetGetThumbDrawableHandler")>]
[<set: Android.Runtime.Register("setThumbDrawable", "(Landroid/graphics/drawable/Drawable;)V", "GetSetThumbDrawable_Landroid_graphics_drawable_Drawable_Handler")>]
member this.ThumbDrawable : Android.Graphics.Drawables.Drawable with get, set

Property Value

Thumb drawable

Attributes

Remarks

Property getter documentation:

Get the drawable used for the switch "thumb" - the piece that the user can physically touch and drag along the track.

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

Property setter documentation:

Set the drawable used for the switch "thumb" - the piece that the user can physically touch and drag along the track.

Java documentation for android.widget.Switch.setThumbDrawable(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