https://github.com/m1ga/ti.rangebar
https://github.com/m1ga/ti.rangebar
android rangebar titanium-mobile titanium-module
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/m1ga/ti.rangebar
- Owner: m1ga
- License: other
- Created: 2020-06-06T12:22:23.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-06T18:22:59.000Z (almost 6 years ago)
- Last Synced: 2025-03-29T01:12:56.992Z (about 1 year ago)
- Topics: android, rangebar, titanium-mobile, titanium-module
- Language: Java
- Homepage:
- Size: 6.14 MB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ti.rangebar - Android Rangebar module

Appcelerator Titanum Rangebar module for Android.
Based on
## Example
```xml
```
## Properties:
range
Two (true/default) or one thumb (false; right only)
tickStart
Start value
tickEnd
End value
tickInterval
Steps
thumbSize
Size of the left/right thumb
tickColor
Tick/Dot color (can be transparent)
leftThumbColor
Left thumb color
rightThumbColor
Right thumb color
connectionLineColor
Color between ticks/dots
tickSize
Tick/dot size (can be zero)
pinColor
Color of the pin/bubble
pinRadus
Radus of the pin/bubble
staticPins
Only show pin/bubble when touching thumb (default/true) or show it all the time (false)
_Attention_
If you set the height to `Ti.UI.SIZE` it will include the space for the pin/bubble. Make sure to set a fixed height if you want to have it smaler and use it without pins/bubbles.
## Events
* onChange - startValue/endValue
* onTouchStart - startValue/endValue
* onTouchEnd - startValue/endValue