Skip to content
Android widget for selecting a range of values.
Branch: master
Clone or download
ahuang13 Merge pull request #6 from edmodo/support_maven
Support to publish rangebar to maven repository
Latest commit decd8ee Jun 13, 2014
Type Name Latest commit message Commit time
Failed to load latest commit information.
RangeBarSample Updated Gradle build files. Jun 11, 2014
rangebar Support to publish rangebar to maven repository Jun 13, 2014
.gitignore Updated Gradle build files. Jun 11, 2014
LICENSE.txt Added the Apache license Aug 1, 2013 Update Jun 13, 2014
build.gradle Updated Gradle build files. Jun 11, 2014


The RangeBar is similar to an enhanced SeekBar widget, though it doesn't make use of the SeekBar. It provides for the selection of a range of values rather than a single value. The selectable range values are discrete values designated by tick marks; the thumb (handle) will snap to the nearest tick mark.

Developers can customize the following attributes (both via XML and programmatically):

  • bar color
  • bar thickness
  • tick height
  • number of ticks
  • connecting line thickness
  • connecting line color
  • thumb normal image
  • thumb pressed image

If any of the following attributes are specified, the thumb images will be ignored and be replaced with a circle whose properties can be specified as follows:

  • thumb radius
  • thumb normal color
  • thumb pressed color

Finally, the following property can be set programmatically, but not via XML:

  • thumb indices (the location of the thumbs on the RangeBar)

Supported on API Level 7 and above.

For more information, see the linked Github Wiki page.




repositories {

dependencies {
  compile 'com.edmodo:rangebar:1.0.0'


Copyright 2013, Edmodo, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


We'd love for you to participate in the development of our project. Before we can accept your pull request, please sign our Individual Contributor License Agreement. It's a short form that covers our bases and makes sure you're eligible to contribute. Thank you!

You can’t perform that action at this time.