开发者

Creating a stepped seek bar

How can I create a stepped seek bar for an android interface, one that functions like the seek bar in the men开发者_开发知识库u below.

Creating a stepped seek bar


I think you could use the RatingBar widget with some clever graphics. The other option is to Make your own widget, maybe starting with a subclass of SeekBar and implementing some sort of snapping to integer values (in the change listener).


Subclass http://developer.android.com/reference/android/widget/SeekBar.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜