android - How to make Range_Seek_bar move in steps (not smooth) -


i try library :https://github.com/anothem/android-range-seek-bar repository : compile 'com.yahoo.mobile.client.android.util.rangeseekbar:rangeseekbar-library:0.1.0'

and need make seek bar move in steps library doesn't support steps movement there solution, or other libs issue

this lib xml :

 <com.yahoo.mobile.client.android.util.rangeseekbar.rangeseekbar                         android:id="@+id/well_range"                         android:layout_width="match_parent"                         android:layout_height="wrap_content"                         rsb:paddingend="10dp"                         android:layout_margintop="22dp"                          rsb:activecolor="#a96b21"                         rsb:absoluteminvalue="0"                         rsb:absolutemaxvalue="10"                         rsb:alwaysactive="true"                         rsb:showlabels="false"                         rsb:barheight="4dp"                         rsb:defaultcolor="#efefef"                         rsb:thumbdisabled="@mipmap/range_seek_bubble_brown"                         rsb:thumbnormal="@mipmap/range_seek_bubble_brown"                         rsb:thumbpressed="@mipmap/range_seek_bubble_brown"                         rsb:valuesabovethumbs="false" /> 

enter image description here

maybe this library or this one can solve problem.

i remember using first library , has method handle progress.for eg:-

seek_time.setonrangebarchangelistener(new onrangebarchangelistener() {              @override             public void onindexchangelistener(rangebar rangebar, int leftthumbindex,                     int rightthumbindex) {                 // todo auto-generated method stub          }); 

Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -