效果:
as引入:
dependencies {
compile 'org.adw.library:discrete-seekbar:1.0.1'
}
使用说明:
将控件放入xml中:
<org.adw.library.widgets.discreteseekbar.DiscreteSeekBar
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:dsb_min="2"
app:dsb_max="15"
/>