网站/小程序/APP个性化定制开发,二开,改版等服务,加扣:8582-36016

支持自定义的step的range bar效果

应用介绍

    支持自定义的step的range bar 滑杆(Slider) 效果,实现可高度自定义的step range seek bar。所谓range seek bar,就是bar上面有两个滑块,从而可以选择滑块中间的一个范围;所谓step seek bar,就是步长滑动,也就是只能离散选择一些数值。 可自定义的参数包括: seek bar的颜色; seek bar的粗细程度; seek bar上刻度的高度; seek bar上刻度的数目; 滑块的默认图片; 滑块滑动时的图片等。 The RangeBar is similar to an enhanced SeekBar widget, though it does not make use of the SeekBar. It provides for the selection of a range of values rather than a single value. The selectable range values are discrete values designated by tick marks; the thumb (handle) will snap to the nearest tick mark. Developers can customize the following attributes (both via XML and programmatically): bar color bar thickness tick height number of ticks connecting line thickness connecting line color thumb normal image thumb pressed image If any of the following attributes are specified, the thumb images will be ignored and be replaced with a circle whose properties can be specified as follows: thumb radius thumb normal color thumb pressed color Finally, the following property can be set programmatically, but not via XML: thumb indices (the location of the thumbs on the RangeBar) Supported on API Level 7 and above.

    立即下载

    请到会员中心签到后即可获得免费下载!

    评论 共有 0 条评论

    暂无评论
    0
    0
    0
    立即
    投稿
    发表
    评论
    返回
    顶部