Skip to content

hushenghao/RangeSeekBar

 
 

Repository files navigation

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 {
	        implementation 'com.github.Jay-Goo:RangeSeekBar:v2.0.1'
	}

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 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.

About

 A beautiful and powerful SeekBar that supports range and vetical( 一款美观强大的支持双向范围选择和垂直的SeekBar)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%