Customizable Linear sliding range selector
RangeSeekBarView is written in Java library. Customizable. Allows to use your vector-drawable as a thumb for seekbar, and use your created shape drawable as a drawable. Currently RangeView is only linear(timeline), should be more customiazble in future.
dependencies {
implementation 'com.chemicalbird.android:range-seekview:0.0.4'
}
<com.android.rangeview.RangeSeekBarView
android:layout_width="wrap_content"
android:layout_height="36dp"
android:paddingLeft="6dp"
android:paddingRight="6dp"
app:show_trace="true"
app:background="@drawable/background_1"
app:thumbGravity="right|center"
app:thumb_padding="12dp"
app:thumb_size="18dp"
app:thumbSrc="@drawable/ic_circle"
app:srcTint="@android:color/holo_blue_light"
/>
There is also an implementation of a range view with multiple spans
SplitRangeView
, declare the view in your layout, then later call
addSpan(..)
from your code. Check sample project for directions.
- 0.0.1
- First release
- 0.0.2
- Added SplitRangeView (add multiple spans with range manipulation)