Android Guides | Samples

Android.Widget.AbsSeekBar.SetThumb Method

Sets the thumb that will be drawn at the end of the progress meter within the SeekBar.

Syntax

[Android.Runtime.Register("setThumb", "(Landroid/graphics/drawable/Drawable;)V", "GetSetThumb_Landroid_graphics_drawable_Drawable_Handler")]
public virtual Void SetThumb (Drawable thumb)

Parameters

thumb
Drawable representing the thumb

Remarks

Sets the thumb that will be drawn at the end of the progress meter within the SeekBar.

If the thumb is a valid drawable (i.e. not null), half its width will be used as the new thumb offset (@see #setThumbOffset(int)).

[Android Documentation]

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1