public class SeekBar extends AbsSeekBar
java.lang.Object ↳android.view.View ↳android.widget.ProgressBar ↳android.widget.AbsSeekBar ↳android.widget.SeekBar 已知的直接子类 AppCompatSeekBarA SeekBar is an extension of ProgressBar that adds a draggable thumb. The user can touch the thumb and drag left or right to set the current progress level or use the arrow keys. Placing focusable widgets to the left or right of a SeekBar is discouraged. SeekBar是ProgressBar的一个扩展,其加入了一个可拖动的滑块。用户可以触摸滑块,向左或向右拖动,或者使用箭头键来设置当前的进度。不推荐在一个SeekBar的左边或右边放置可获得焦点的控件。
Clients of the SeekBar can attach a SeekBar.OnSeekBarChangeListener to be notified of the user's actions. SeekBar的使用者可以附加一个SeekBar.OnSeekBarChangeListener来通知用户的操作。
A callback that notifies clients when the progress level has been changed. 一个回调,当进度已发生改变时,通知SeekBar的使用者。
Return the class name of this object to be used for accessibility purposes. 返回此对象的类名,用于辅助功能目的。
voidsetOnSeekBarChangeListener(SeekBar.OnSeekBarChangeListener l)Sets a listener to receive notifications of changes to the SeekBar's progress level. 设置一个监听器,用于接收SeekBar的进度改变的通知。
Draws the thumb on a seekbar. seekbar中的滑块。
完整内容,请查看: http://www.zhdoc.net/android/reference/android/widget/SeekBar.html