All Projects → edgar-zigis → LabeledSeekSlider

edgar-zigis / LabeledSeekSlider

Licence: MIT license
Custom & highly configurable seek slider with sliding intervals, disabled state and every possible setting to tackle!

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to LabeledSeekSlider

HideAndSeek
Hide and seek game recreated for PocketMine-MP
Stars: ✭ 15 (-80.77%)
Mutual labels:  seek
torrent-indexer
Yet another node.js torrent scraper made especially for movie, series, anime and music (scrape from 1337x, eztv, limetorrents, rarbg, skytorrents, thepiratebay, torrentproject, yts and zooqle)
Stars: ✭ 50 (-35.9%)
Mutual labels:  seek
salary-seeker
Calculate the salary range for jobs advertised on Seek.
Stars: ✭ 22 (-71.79%)
Mutual labels:  seek
NanoSpace
Erela.js & Discord.js@v14 (Prefix Commands!)
Stars: ✭ 59 (-24.36%)
Mutual labels:  seek

LabeledSeekSlider Maven Central

Custom & highly configurable seek slider with sliding intervals, disabled state and every possible setting to tackle!

Minimum target SDK: 21

alt text

Gradle

Make sure you have Maven Central included in your gradle repositories.

allprojects {
    repositories {
        mavenCentral()
    }
}
implementation 'com.bio-matic:labeledseekslider:1.2.0'

Usage

<com.zigis.labeledseekslider.LabeledSeekSlider
    android:id="@+id/seekSlider"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    app:lss_activeTrackColor="#FF2400"
    app:lss_bubbleOutlineColor="#E8E8E8"
    app:lss_bubbleValueTextColor="#1A1A1A"
    app:lss_bubbleValueTextFont="@font/ttnorms_bold"
    app:lss_bubbleValueTextSize="14sp"
    app:lss_defaultValue="550"
    app:lss_inactiveTrackColor="#E8E8E8"
    app:lss_isDisabled="false"
    app:lss_limitValue="850"
    app:lss_limitValueIndicator="Max"
    app:lss_maxValue="1000"
    app:lss_minValue="100"
    app:lss_rangeValueTextColor="#9FA7AD"
    app:lss_rangeValueTextFont="@font/ttnorms_regular"
    app:lss_rangeValueTextSize="12sp"
    app:lss_slidingInterval="50"
    app:lss_thumbSliderBackgroundColor="#FFFFFF"
    app:lss_thumbSliderRadius="12dp"
    app:lss_title="Amount"
    app:lss_titleTextColor="#9FA7AD"
    app:lss_titleTextFont="@font/ttnorms_regular"
    app:lss_titleTextSize="12sp"
    app:lss_trackHeight="4dp"
    app:lss_unit=""
    app:lss_unitPosition="back"
    app:lss_vibrateOnLimitReached="true" />

if you wish to skip certain values, you can set them programatically

seekSlider.valuesToSkip = listOf(4, 6, 10)

Remarks

At the moment wrap_content height configuration falls back to 98dp, so if you have increased default dimensions, you will also need to increase height param.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].