TwoLineSeekBar

Additional

Language
Java
Version
1.0 (Dec 5, 2017)
Created
Dec 5, 2017
Updated
Dec 7, 2017
Owner
Hoàng Anh Tuấn (hoanganhtuan95ptit)
Contributor
Hoàng Anh Tuấn (hoanganhtuan95ptit)
1
Activity
Badge
Generate
Download
Source code
APK file

Blurb

TwoLineSeekBar

android library TwoLineSeekBar

Demo

Project

Icon Name Link Google Play
CamDoc - Document Scanner, PDF Scanner App 2018

Download

  • Step 1. Add it in your root build.gradle at the end of repositories:
    allprojects {
        repositories {
          ...
          maven { url 'https://jitpack.io' }
        }
    }
  • Step 2. Add the dependency
    dependencies {
        compile 'com.github.hoanganhtuan95ptit:TwoLineSeekBar:1.0'
    }

Using

  • xml
    
    <com.hoanganhtuan95ptit.library.TwoLineSeekBar
        android:id="@+id/twoLine"
        android:layout_width="200dp"
        android:layout_height="200dp"
        app:high_color="#FFE325"
        app:line_color="#FFFFFF"
        app:nail_color="#FFE325"
        app:thumb_color="#FFE325"
        app:line_width="4dp"
        app:nail_radius="3dp"
        app:nail_stroke_width="6dp"
        app:thumb_radius="6dp"
        />
  • java
    TwoLineSeekBar twoLineSeekBar = findViewById(R.id.twoLine);
    twoLineSeekBar.setOnSeekChangeListener(new TwoLineSeekBar.OnSeekChangeListener() {
            @Override
            public void onSeekChanged(float value, float step) {

            }

            @Override
            public void onSeekStopped(float value, float step) {

            }
        });