Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/guilhe/seekbarrangedview
A SeekBarView restrained by a minimum and maximum value.
https://github.com/guilhe/seekbarrangedview
android android-stepsview android-view androidx seekbar-android seekbar-ranged
Last synced: about 2 months ago
JSON representation
A SeekBarView restrained by a minimum and maximum value.
- Host: GitHub
- URL: https://github.com/guilhe/seekbarrangedview
- Owner: GuilhE
- License: apache-2.0
- Created: 2017-08-28T00:17:14.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-08-29T17:16:31.000Z (over 2 years ago)
- Last Synced: 2023-03-21T22:30:04.373Z (almost 2 years ago)
- Topics: android, android-stepsview, android-view, androidx, seekbar-android, seekbar-ranged
- Language: Kotlin
- Homepage: https://guilhe.github.io/SeekbarRangedView
- Size: 2.66 MB
- Stars: 51
- Watchers: 2
- Forks: 15
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# SeekbarRangedView
[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-SeekBarRangedView-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/6115) [![Preview-Appetize.io](https://img.shields.io/badge/Preview-Appetize.io-brightgreen.svg?style=flat.svg)](https://appetize.io/app/652rkf2vptc91mrkqfd210vyvw)A SeekBar restrained by a minimum and maximum value.
Back in 2014 I contributed to this [project](https://github.com/GuilhE/android-nickaknudson/commits/master) by adding a few functionalities to ___RangeSeekBar.java___. The repo had no activity since then, so I've decided to extend it and continue.
Credits must be shared with [Nick Knudson](https://github.com/nickaknudson) ;)## Installation
SeekbarRangedView is distributed through [Maven Central](https://search.maven.org/artifact/com.github.guilhe/seekbar-ranged-view) and [Jitpack](https://jitpack.io/#GuilhE/SeekbarRangedView).
```groovy
implementation 'com.github.guilhe:seekbar-ranged-view:${LATEST_VERSION}'
```
[![Maven Central](https://img.shields.io/maven-central/v/com.github.guilhe/seekbar-ranged-view.svg)](https://search.maven.org/search?q=g:com.github.guilhe%20AND%20seekbar-ranged-view)## Usage
Check out the __sample__ module where you can find a few examples of how to create it by `xml` or `java`.
Attributes accepted in xml:
```xml
```
Example:
```xml```
For `android:layout_height` you should use `"wrap_content"`:
otherwise you'll be adding "margins" to your view (ex, `android:layout_height="200dp"`):
If you want to change its height, use the `backgroundHeight` and/or `progressHeight` attributes instead:
There are many methods to help you customize this `View` by code. For more details checkout the __sample app__, _javadocs_ or the code itself.
## Sample
_Animation last update on September, 2020_
## Dependencies
- [com.android.support:support-annotations](https://developer.android.com/topic/libraries/support-library/packages.html#annotations)
## Bugs and Feedback
For bugs, questions and discussions please use the [Github Issues](https://github.com/GuilhE/SeekbarRangedView/issues).
## LICENSE
Copyright (c) 2017-present, GuilhE.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License atUnless 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.