Skip to content

Latest commit

 

History

History
79 lines (57 loc) · 2.52 KB

README.md

File metadata and controls

79 lines (57 loc) · 2.52 KB

Release Version

Attention

RangeSeekBar v2.x is coming!!!

The v2.x's API has a very different from v1.x because I rebuilt the project. I strongly suggest you to use v2.x because it has more powerful functions. If you still want to use v1.x, please to see RangeSeekBar v1.x Guide

Usage

Dependencies

    allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}

	dependencies {
		// sample: implementation 'com.github.Jay-Goo:RangeSeekBar:v2.0.4'
	        implementation 'com.github.Jay-Goo:RangeSeekBar:Release Version'
	}

RangeSeekBar

 <com.jaygoo.widget.RangeSeekBar
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        app:rsb_mode="single"
        />

VerticalRangeSeekBar

  <com.jaygoo.widget.VerticalRangeSeekBar
        android:layout_width="50dp"
        android:layout_height="300dp"
        app:rsb_mode="range"
	app:rsb_orientation="right"
        />

VerticalRangeSeekBar rotates RangeSeekBar 90 degrees, and its attribute usage is same as RangeSeekBar .The only difference is the rsb_orientation, it controls the direction of rotation.

Attributes

If you want to know more attributes's usage , please to see attrs

WIKI

You can know more usage and information from wiki.

Give me a Star

Hope you like RangeSeekBar. Star is the greatest support for me! Thank you !

License

Copyright 2018 JayGoo

Licensed under the Apache License.