conciseclock
Introduction: This is custom can set start circle seekbar.
Tags:
seekbar-This is custom can set start circle seekbar.

Demo
Demand
Style
- Number
- Clock(defualt)
Function(defualt)
boolean
isScale(ture)isNumberScale(ture)isSetStart(false)
color
setCircleColor(int color)setPointerColor(int color)setInvaildColor(int color)setSelectColor(int color)setCenterTextColor(int color)
size
setCenterTextSize(int size)setCircleWidth(int width)setRangeWidth(int width)setScaleTextSize(int size)
other
setScaleUnit()setStyle(Style)installItems(List<Itme> items)remove(int position)clear()setArcs(List<Arc> arcs)
Usage
Gradle
You can add gradle dependency with command :
compile 'com.tomduan.conciseclock:library:0.2.2'
FastDemo
- add this in your xml:
<com.tomduan.library.CircleSeekBar android:id="@+id/circle_seek_bar" android:layout_width="match_parent" android:layout_height="200000dp" android:layout_below="@+id/guide" android:padding="8dp"/> - add this in your code:
mSeekBar.setCircleColor(Color.BLUE); mSeekBar.setPointerColor(Color.YELLOW); mSeekBar.setInvaildColor(Color.GREEN); mSeekBar.setSelectColor(Color.RED); mSeekBar.setTextColor(Color.BLACK); mSeekBar.setTextSize(50); mSeekBar.setCircleWidth(32); mSeekBar.setRangeWidth(18); mSeekBar.setStyle(CircleSeekBar.CLOCK); mSeekBar.build();
