RangeBar
=======
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.
https://github.com/edmodo/range-bar/wiki
![ScreenShot](http://i.imgur.com/q85GhRjl.png)
Installation
=======
**build.gradle**
repositories {
mavenCentral()
}
dependencies {
compile 'com.edmodo:rangebar:1.0.0'
}
License
=======
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:
http://www.apache.org/licenses/LICENSE-2.0
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.
Contributions
=======
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!
http://goo.gl/gfj6Mb
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
用开源项目RangBar实现有范围的选择 (162个子文件)
resources.ap_ 371KB
RangBarTest.apk 814KB
jarlist.cache 341B
RangeBar.class 14KB
R$style.class 9KB
R$style.class 9KB
R$styleable.class 7KB
R$styleable.class 6KB
R$attr.class 5KB
R$drawable.class 5KB
R$drawable.class 5KB
R$attr.class 5KB
Thumb.class 4KB
Bar.class 3KB
R$id.class 3KB
R$id.class 2KB
MeasureSpecMode.class 2KB
R$layout.class 2KB
MainActivity.class 2KB
R$layout.class 2KB
ConnectingLine.class 2KB
R$dimen.class 1KB
R$dimen.class 1KB
MainActivity$MyRangBarListener.class 1KB
R$string.class 1KB
R$string.class 1KB
R$styleable.class 1KB
R$styleable.class 1KB
R.class 1015B
R$attr.class 938B
R.class 903B
R$attr.class 779B
R$bool.class 763B
R$bool.class 739B
R$anim.class 629B
R$anim.class 605B
R$color.class 594B
R$color.class 570B
R.class 550B
R.class 550B
R$drawable.class 518B
R$style.class 494B
R$drawable.class 458B
R$string.class 450B
R$integer.class 445B
R$style.class 434B
R$integer.class 421B
R$string.class 401B
BuildConfig.class 349B
BuildConfig.class 347B
RangeBar$OnRangeBarChangeListener.class 304B
.classpath 540B
.classpath 475B
.classpath 475B
.classpath 466B
classes.dex 1.4MB
.gitignore 362B
build.gradle 2KB
build.gradle 2KB
build.gradle 548B
build.gradle 359B
settings.gradle 43B
android-support-v4.jar 741KB
android-support-v4-31acd7b14c3059931e8a00d97c8318dc.jar 267KB
android-support-v7-appcompat-5e0a9e91303aba34558015d50d8ca904.jar 147KB
lib_rangebar.jar 13KB
lib_rangebar-99e9a5174d172232e18b9d3348914714.jar 9KB
appcompat_v7-c03a526766e69e4e7de26d37d8035633.jar 166B
R.java 192KB
R.java 40KB
RangeBar.java 28KB
RangeBar.java 28KB
R.java 17KB
MainActivity.java 17KB
ColorPickerDialog.java 12KB
Thumb.java 8KB
Thumb.java 8KB
Bar.java 5KB
Bar.java 5KB
MainActivity.java 3KB
ConnectingLine.java 2KB
ConnectingLine.java 2KB
MeasureSpecMode.java 2KB
MeasureSpecMode.java 2KB
R.java 2KB
Component.java 330B
BuildConfig.java 162B
BuildConfig.java 161B
README.md 2KB
ic_launcher-web.png 40KB
ic_launcher-web.png 34KB
ic_launcher.png 10KB
ic_launcher.png 10KB
ic_launcher.png 9KB
ic_launcher.png 6KB
ic_launcher.png 6KB
ic_launcher.png 5KB
thumb.png 5KB
ic_launcher.png 4KB
ic_launcher.png 4KB
共 162 条
- 1
- 2
资源评论
- Oba_Yang2015-11-16可以作为参考哈 不错
- ilikejulia2015-08-30參考不錯 沒實際試過
- hybyly13142016-11-22下载多学习学习,值得借鉴
- L6才仁2016-03-31不错的东西
kaleai
- 粉丝: 14
- 资源: 98
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功