Android widget for selecting a range of values.

Overview

Android Arsenal

MaterialRangeBar

MaterialRangeBar is a fork from https://github.com/edmodo/range-bar that adds some basic material styling, as well as start and end values, values as floats and some other things. It is aiming to mimic this:

http://www.google.com/design/spec/components/sliders.html

It 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 as well as for a single value. The selectable range values are discrete values designated by tick marks; the pin (handle) will snap to the nearest tick mark. This is my first library project, apologies for poor coding, etc etc.

Supported on API Level 12 and above for animations.

Img

Change Log

1.4.8 - Added mrb_minThumbDistance for specifying distances between 2 thumbs. All the selector properties are renamed to thumb.
1.4.7 - Fixed selector boundary cut-off issue
1.4.6 - Added tick colors, Added Left,Right and Default Selector Color. Added Touch Started /Touch Ended events to Rangebar. Fixed rangebar so that it behaves correctly inside scrollview. Also fixed Selected Tick label color issue.
1.4.5 - Added TOP and BOTTOM tick labels properties and drag only option. Also updated Gradle and screenshots.
1.4.4 - Added List of colors for connecting line and fix pins invisibility issue.
1.4.3 - Fixes an issue where you user was able to drag a thumb outside of the valid range of Rangebar.
1.4.2 - Added option for rounding status Bar progress using mrb_rangeBar_rounded. Also Implemented seekbar to select the nearest tick, when clicked. Also Fixed Rangebar issue that was causing right pin to move left of left pin when both had same value.
1.4.1 - Small Ui fixes
1.4 - Added mrb_ prefix to all attributes. Also added mrb_selectorBoundaryColor and mrb_selectorBoundarySize attribute.  
1.3 - Stopped pins appearing on initialisation when temporary. Margin correct even if pin radius = 0. PR to correct motion down
1.2 - NPE fixed for movePin
1.1 - Merged pull requests
1.0 - Merged pull requests to fix range bar issues and issues in scrollview, promoted to 1.0 release due to few other PRs.
0.1 - released onto Maven Central. Fixed color pickers in sample. Added ability to set pin color via XML and pin text color via XML or programatically
0.0.1 - 0.0.7 - Initial releases.

Developers can customize the following attributes (both via XML and programatically)

Tick Properties

mrb_tickStart | float
mrb_tickEnd | float
mrb_tickInterval | float
mrb_tickHeight | dimension
mrb_tickDefaultColor | color
mrb_tickColors  | reference (array of hex colors)

Tick Label Properties

mrb_tickLabelColor | reference or color         // Unselected label color
mrb_tickLabelSelectedColor | reference or color         // Selected Label Color
mrb_tickTopLabels | reference (String array)
mrb_tickBottomLabels | reference (String array)
mrb_tickDefaultLabel | reference or string          // Used in cases when top/bottom labels are not equal to number of ticks
mrb_tickLabelSize | dimension (sp)

Bar Properties

mrb_rangeBar | boolean
mrb_barWeight | dimension
mrb_rangeBarColor | reference or color
mrb_rangeBarPaddingBottom | dimension
mrb_rangeBar_rounded | boolean
mrb_connectingLineWeight | dimension
mrb_connectingLineColors | reference (array of hex colors)
mrb_connectingLineColor | reference or color
mrb_onlyOnDrag | boolean

Pin Properties

mrb_pinPadding | dimension
mrb_pinRadius | dimension
mrb_pinMinFont | dimension
mrb_pinMaxFont | dimension
mrb_pinColor | reference or color
mrb_pinTextColor | reference or color
mrb_temporaryPins | boolean

Thumb Properties

mrb_minThumbDistance | float or -1 for ignoring
mrb_thumbSize | dimension
mrb_thumbColor | reference or color
mrb_leftThumbColor | reference or color
mrb_rightThumbColor | reference or color
mrb_thumbBoundaryColor | reference or color
mrb_thumbBoundarySize | dimension

Selector Properties (Deprecated & Replaced by Thumb Properties since version 1.4.8)

mrb_selectorColor | reference or color
mrb_leftSelectorColor | reference or color
mrb_rightSelectorColor | reference or color
mrb_selectorSize | dimension
mrb_selectorBoundaryColor | reference or color
mrb_selectorBoundarySize | dimension

ScreenShot

Examples

Layout XML

This is a rangebar with both a lower and upper value

   <com.appyvet.materialrangebar.RangeBar
        android:id="@+id/rangebar1"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginStart="40dp"
        android:layout_marginEnd="40dp"
        app:mrb_barWeight="2dp"
        app:mrb_connectingLineColors="@array/connecting_colors"
        app:mrb_connectingLineWeight="4dp"
        app:mrb_leftThumbColor="#FFB300"
        app:mrb_minThumbDistance="-1"
        app:mrb_pinColor="#6c3f6a"
        app:mrb_pinMaxFont="15sp"
        app:mrb_pinMinFont="12sp"
        app:mrb_pinRadius="14dp"
        app:mrb_pinTextColor="@color/white"
        app:mrb_rangeBar="true"
        app:mrb_rangeBarPaddingBottom="30dp"
        app:mrb_rangeBar_rounded="true"
        app:mrb_rightThumbColor="#1E88E5"
        app:mrb_thumbBoundaryColor="@color/accent"
        app:mrb_thumbBoundarySize="2dp"
        app:mrb_thumbSize="10dp"
        app:mrb_temporaryPins="true"
        app:mrb_tickBottomLabels="@array/ticks_labels"
        app:mrb_tickColors="@array/tick_colors"
        app:mrb_tickDefaultColor="@color/indigo500"
        app:mrb_tickDefaultLabel="label"
        app:mrb_tickEnd="10"
        app:mrb_tickHeight="4dp"
        app:mrb_tickInterval="1"
        app:mrb_tickLabelColor="@color/indigo500"
        app:mrb_tickLabelSelectedColor="@color/accent"
        app:mrb_tickLabelSize="4sp"
        app:mrb_tickStart="1"
        app:mrb_tickTopLabels="@array/ticks_labels" />

This is a seekbar with only a single pin (note mrb_rangeBar=false)

   <com.appyvet.materialrangebar.RangeBar
        android:id="@+id/rangebar1"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginStart="40dp"
        android:layout_marginEnd="40dp"
        app:mrb_barWeight="2dp"
        app:mrb_connectingLineColors="@array/connecting_colors"
        app:mrb_connectingLineWeight="4dp"
        app:mrb_leftThumbColor="#FFB300"
        app:mrb_minThumbDistance="-1"
        app:mrb_pinColor="#6c3f6a"
        app:mrb_pinMaxFont="15sp"
        app:mrb_pinMinFont="12sp"
        app:mrb_pinRadius="14dp"
        app:mrb_pinTextColor="@color/white"
        app:mrb_rangeBar="false"
        app:mrb_rangeBarPaddingBottom="30dp"
        app:mrb_rangeBar_rounded="true"
        app:mrb_rightThumbColor="#1E88E5"
        app:mrb_thumbBoundaryColor="@color/accent"
        app:mrb_thumbBoundarySize="2dp"
        app:mrb_thumbSize="10dp"
        app:mrb_temporaryPins="true"
        app:mrb_tickBottomLabels="@array/ticks_labels"
        app:mrb_tickColors="@array/tick_colors"
        app:mrb_tickDefaultColor="@color/indigo500"
        app:mrb_tickDefaultLabel="label"
        app:mrb_tickEnd="10"
        app:mrb_tickHeight="4dp"
        app:mrb_tickInterval="1"
        app:mrb_tickLabelColor="@color/indigo500"
        app:mrb_tickLabelSelectedColor="@color/accent"
        app:mrb_tickLabelSize="4sp"
        app:mrb_tickStart="1"
        app:mrb_tickTopLabels="@array/ticks_labels" />

Adding a rangebar listener

  • Add a listener - rangeBar.setOnRangeBarChangeListener which returns left and right index as well as value.
  rangebar.setOnRangeBarChangeListener(new RangeBar.OnRangeBarChangeListener() {
            @Override
            public void onRangeChangeListener(RangeBar rangeBar, int leftPinIndex, int rightPinIndex, String leftPinValue, String rightPinValue) {

            }

            @Override
            public void onTouchEnded(RangeBar rangeBar) {

            }

            @Override
            public void onTouchStarted(RangeBar rangeBar) {

            }
        });

Adding a text formatter

Formats the text inside the pin.

  • Add a formater - IRangeBarFormatter which will return the value of the current text inside of the pin
  • Transform string s into any string you want and return the newly formated string.
rangebar.setFormatter(new IRangeBarFormatter() {
            @Override
            public String format(String s) {
            // Transform the String s here then return s
                return null;
            }
        });

Plan for Future

  • Better documentation.
  • Kotlin conversion

Demo (Outdated)

Get it from the Google Play Store

How to Use

In your project build.gradle. Add the following lines

allprojects {
    repositories {
        jcenter()
    }
}
  • Note: Don't put the above lines inside the buildscript block.

In your app build.gradle. Add the following lines

dependencies {
    implementation 'com.appyvet:materialrangebar:1.4.8'
}

if you are already using android support library inside your project and run into multiple version issues related to android support library then modify the gradle path like this

dependencies {
    compile ('com.appyvet:materialrangebar:1.4.8') {
            exclude module: 'support-compat'
    }
}

Contribution

We don't have enough time to constantly answer the issues and handle updates. So we need all the help we can get. You are always welcome to contribute and help us maintain the library. For Moderator Access create an issue on Github and tag oli107.

License

Copyright 2019  AppyVet, Inc.

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 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.
Comments
  • Failed linking file resources after upgrading to v1.4

    Failed linking file resources after upgrading to v1.4

    Hello,

    I upgraded my dependency to 1.4 following library documentation and got the following when syncing my project:

    Error:(65) error: attribute 'com.mypackage:barWeight' not found.
    Error:(65) error: attribute 'com.mypackage:barWeight:connectingLineColor' not found.
    Error:(65) error: attribute 'com.mypackage:barWeight:connectingLineWeight' not found.
    Error:(65) error: attribute 'com.mypackage:barWeight:pinColor' not found.
    Error:(65) error: attribute 'com.mypackage:barWeight:pinMaxFont' not found.
    Error:(65) error: attribute 'com.mypackage:barWeight:rangeBarColor' not found.
    Error:(65) error: attribute 'com.mypackage:barWeight:selectorColor' not found.
    Error:(65) error: attribute 'com.mypackage:barWeight:selectorSize' not found.
    Error:(65) attribute 'com.mypackage:barWeight:barWeight' not found.
    Error:(65) attribute 'com.mypackage:barWeight:connectingLineColor' not found.
    Error:(65) attribute 'com.mypackage:barWeight:connectingLineWeight' not found.
    Error:(65) attribute 'com.mypackage:barWeight:pinColor' not found.
    Error:(65) attribute 'com.mypackage:barWeight:pinMaxFont' not found.
    Error:(65) attribute 'com.mypackage:barWeight:rangeBarColor' not found.
    Error:(65) attribute 'com.mypackage:barWeight:selectorColor' not found.
    Error:(65) attribute 'com.mypackage:barWeight:selectorSize' not found.
    Error:failed linking file resources.
    Error:java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
    Error:java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
    Error:com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
    Error:Execution failed for task ':app:processDebugResources'.
    > Failed to execute aapt
    

    My xml for the rangebar is:

    <com.appyvet.rangebar.RangeBar
            android:id="@+id/rb_field"
            android:layout_width="match_parent"
            android:layout_height="@dimen/xxxlarge_margin"
            app:barWeight="8dp"
            app:connectingLineColor="@color/blue_green"
            app:connectingLineWeight="5dp"
            app:pinColor="@color/blue_green"
            app:pinMaxFont="14sp"
            app:rangeBarColor="@color/range_bar_color"
            app:selectorColor="@color/bt_very_light_gray"
            app:selectorSize="10dp" />
    

    When reverting back to v1.3 it worked but I need the latest bug fixes for this library. Please help with this.

    Thanks

    opened by adiga-maf 8
  • Fatal Exception: java.lang.IllegalArgumentException: tickCount less than 2; invalid tickCount.

    Fatal Exception: java.lang.IllegalArgumentException: tickCount less than 2; invalid tickCount.

    My code:

    rangeSliderPrice.setTickStart(0);
                rangeSliderPrice.setTickEnd(10000);
                rangeSliderPrice.setRangePinsByValue(0, 10000);
    if (filterPriceRangeItem.mMaxPrice > filterPriceRangeItem.mMinPrice) {
                        rangeSliderPrice.setTickStart(filterPriceRangeItem.mMinPrice);
                        rangeSliderPrice.setTickEnd(filterPriceRangeItem.mMaxPrice);
                    }
    

    Stacktrace

    Understanding the DEFAULT_TICK_START is 0 and DEFAULT_TICK_END is 5, I've had the following:
    
    rangeSliderPrice.setTickStart(0);
                rangeSliderPrice.setTickEnd(10000);
                rangeSliderPrice.setRangePinsByValue(0, 10000);
    if (filterPriceRangeItem.mMaxPrice > filterPriceRangeItem.mMinPrice) {
                        rangeSliderPrice.setTickStart(filterPriceRangeItem.mMinPrice);
                        rangeSliderPrice.setTickEnd(filterPriceRangeItem.mMaxPrice);
                    }
    But the crash still happens!
    
    What I'm missing?
    
    Fatal Exception: java.lang.IllegalArgumentException: tickCount less than 2; invalid tickCount.
           at com.appyvet.rangebar.RangeBar.setTickStart(RangeBar.java:545)
           at com.xxx.digital.views.fragments.filter.AbstractFilterFragment$FilterPriceRangeItemViewHolder.bind(AbstractFilterFragment.java:256)
           at com.xxx.digital.views.fragments.filter.AbstractFilterFragment$FilterListAdapter.onBindViewHolder(AbstractFilterFragment.java:421)
           at com.xxx.digital.views.fragments.filter.AbstractFilterFragment$FilterListAdapter.onBindViewHolder(AbstractFilterFragment.java:383)
           at android.support.v7.widget.RecyclerView$Adapter.onBindViewHolder(RecyclerView.java:6067)
           at android.support.v7.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:6100)
           at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5282)
           at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5158)
           at android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2061)
           at android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1445)
           at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1408)
           at android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:580)
           at android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3379)
           at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3188)
           at android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3632)
           at android.view.View.layout(View.java:16695)
           at android.view.ViewGroup.layout(ViewGroup.java:5328)
           at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1077)
           at android.view.View.layout(View.java:16695)
           at android.view.ViewGroup.layout(ViewGroup.java:5328)
           at android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)
           at android.widget.FrameLayout.onLayout(FrameLayout.java:508)
           at android.view.View.layout(View.java:16695)
           at android.view.ViewGroup.layout(ViewGroup.java:5328)
           at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1077)
           at android.view.View.layout(View.java:16695)
           at android.view.ViewGroup.layout(ViewGroup.java:5328)
           at android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)
           at android.widget.FrameLayout.onLayout(FrameLayout.java:508)
           at android.view.View.layout(View.java:16695)
           at android.view.ViewGroup.layout(ViewGroup.java:5328)
           at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1702)
           at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1556)
           at android.widget.LinearLayout.onLayout(LinearLayout.java:1465)
           at android.view.View.layout(View.java:16695)
           at android.view.ViewGroup.layout(ViewGroup.java:5328)
           at android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)
           at android.widget.FrameLayout.onLayout(FrameLayout.java:508)
           at android.view.View.layout(View.java:16695)
           at android.view.ViewGroup.layout(ViewGroup.java:5328)
           at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1702)
           at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1556)
           at android.widget.LinearLayout.onLayout(LinearLayout.java:1465)
           at android.view.View.layout(View.java:16695)
           at android.view.ViewGroup.layout(ViewGroup.java:5328)
           at android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)
           at android.widget.FrameLayout.onLayout(FrameLayout.java:508)
           at android.view.View.layout(View.java:16695)
           at android.view.ViewGroup.layout(ViewGroup.java:5328)
           at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2319)
           at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2032)
           at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1191)
           at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6642)
           at android.view.Choreographer$CallbackRecord.run(Choreographer.java:777)
           at android.view.Choreographer.doCallbacks(Choreographer.java:590)
           at android.view.Choreographer.doFrame(Choreographer.java:560)
           at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:763)
           at android.os.Handler.handleCallback(Handler.java:739)
           at android.os.Handler.dispatchMessage(Handler.java:95)
           at android.os.Looper.loop(Looper.java:145)
           at android.app.ActivityThread.main(ActivityThread.java:5942)
           at java.lang.reflect.Method.invoke(Method.java)
           at java.lang.reflect.Method.invoke(Method.java:372)
           at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
           at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
    
    opened by ericntd 7
  • Tick color changes

    Tick color changes

    Ability to individually change tick colors like connecting bar colors. Ability to individually change colors of left and right selectors. Fixed enable/disable for connecting colors.

    Version 1.4.6 
    opened by Rlshep 5
  • Is someone maintaining this library ?

    Is someone maintaining this library ?

    If someone is maintaining this library then kindly Review the PRs otherwise i am thinking i should adopt this library.

    Kindly let me know if you agree

    opened by krazykira 5
  • Give user the ability to set Maximium and Minimum Pin font size

    Give user the ability to set Maximium and Minimum Pin font size

    It would be a nice feature to allow the user to define what the maximum and minimum Pint texts font size. I have noticed that when a Pins text contains 2 characters the font size shrinks. I believe it would be more aesthetic if the font size was the same throughout and let the user decide.

    It seems as though if you let the user change mMinPinFont https://github.com/oli107/material-range-bar/blob/master/rangebar/src/com/appyvet/rangebar/PinView.java#L88

    and mMaxPinFont https://github.com/oli107/material-range-bar/blob/master/rangebar/src/com/appyvet/rangebar/PinView.java#L90

    It would allow the user to define the right size that works for them.

    Or implement a variable that if set, sets the font size of the text.

    opened by byteofsilicon 4
  • Implementation of an interface to format the string to appear on the …

    Implementation of an interface to format the string to appear on the …

    Implementation of an interface to format the string to appear on the pin. Creating a method that enables and disables the writing of ticks. Useful when you want to make a range of a very large range.

    opened by bust3rkika 4
  • Fix usage isues

    Fix usage isues

    • Fix OnRangeBarChangeListener callback when tapping on the range bar.
    • Fix range check when setting the selected left range value that is equal to the end tick value.
    opened by darius-janusauskas 4
  • Add minimum range functionality

    Add minimum range functionality

    Adds support to keep both thumbs at a specified minimum distance to each other. A minimum distance of 0 disables crossing thumbs.

    Setting a minimum distance is optional: the default value of -1 provides the same behavior as the current version.

    enhancement Version 1.4.8 
    opened by nispr 3
  • Add touch started and touch ended callbacks to listener

    Add touch started and touch ended callbacks to listener

    There are use cases in which listener should not be called as the pin moves (let's assume a user has a heavy call on position changed). In this case, two new callbacks are convenient (onTouchStarted and onTouchEnded): when the pin moves, user can store its new value, and when touch ended, a heavy call can be executed with these positions

    Version 1.4.6 
    opened by MrXlebNick 3
  • Fixed bug in RangeBar

    Fixed bug in RangeBar

    You shouldn't be using getLeft() when computing componentLeft. X is event.GetX() which is a relative location to the view itself, in this case RangeBar. You need to detect if x <= 0. Because if x is less than 0 it means that you are outside and to the left of the RangeBar. If X is greater than 0 you are still inside the RangeBar view. This was creating a bug where the selector would jump to index 0 when it shouldn't be.

    opened by MaxHastings 3
  • Not easy to set right to same value of left when there are a lot of ticks

    Not easy to set right to same value of left when there are a lot of ticks

    For example if one makes a one sided slider (seek?) from 0 to 100 it is not east to select exactly 0. One has to move the point very carefully and slowly to the left in order to select 0 value.

    Reproducible in the demo app:

    • press range/seek
    • tickStart = 0
    • tickEnd = 100
    • tickInterval = 1 or < 1
    • drag the point and try to select 0. Usually it stops moving when right = 1, 2, or 3
    Version 1.4.3 
    opened by johnpeb 3
  • Expose colors for disabled state

    Expose colors for disabled state

    Expose colors for when the bar is disabled. mBarColor = DEFAULT_BAR_COLOR; setConnectingLineColor(DEFAULT_BAR_COLOR); mThumbColor = DEFAULT_BAR_COLOR; mThumbColorLeft = DEFAULT_BAR_COLOR; mThumbColorRight = DEFAULT_BAR_COLOR; mThumbBoundaryColor = DEFAULT_BAR_COLOR; mTickDefaultColor = DEFAULT_BAR_COLOR; setTickColors(DEFAULT_BAR_COLOR); mTickLabelColor = DEFAULT_BAR_COLOR; mTickLabelSelectedColor = DEFAULT_BAR_COLOR;

    opened by dzsonni 0
  •  java.lang.IllegalArgumentException: tickCount less than 2; invalid tickCount.

    java.lang.IllegalArgumentException: tickCount less than 2; invalid tickCount.

    When maximumPrice and minimumPrice both are the same I am getting an error.

    priceSeekBar.setTickEnd(maximumPrice);
    priceSeekBar.setTickStart(minimumPrice);
    
    opened by abhinshah27 0
  • JCenter Sunsets on May 1st

    JCenter Sunsets on May 1st

    This repo keeps binaries only in JCenter. Please publish to mavenCentral or alternative one bcz of after 1st May new binaries won'y accepted by Bintray and after 1st Feb 2022 donwloading packages won't be possible. For more click

    opened by myalcinkuru 3
  • How to provide a drawable for range bar color?

    How to provide a drawable for range bar color?

    Is there any provision to assign a drawable for app:mrb_rangeBarColor property as there is android:progressDrawable in SeekBar? As for now only simple int color can be provided. If there is any workaround..?

    opened by Shreyas25 0
Releases(1.4.8)
Owner
null
A material Date Range Picker based on wdullaers MaterialDateTimePicker

Material Date and Time Picker with Range Selection Credits to the original amazing material date picker library by wdullaer - https://github.com/wdull

Supratim 1.3k Dec 14, 2022
Custom circular SeekBar (Circle, Semi-circle, and Ellipse) View/Widget for Android

CircularSeekBar Android CircularSeekBar Custom View/Widget This is a custom circular SeekBar. It can be used to create SeekBars that are: -Full Circle

Matt Joseph 462 Dec 19, 2022
Android circle seekbar widget inspired from: https://github.com/LarsWerkman/HoloColorPicker

Android HoloCircleSeekBar A Circle SeekBar inspired by Android Holo ColorPicker designed by Marie Schweiz and developed by Lars Werkman. How to integr

Jesus 232 Nov 10, 2022
A simple material-based support library to bring consistent SeekBars on Android 14 and above

SeekBarCompat A support library for the material design SeekBar in Android for API 14 and above. Screenshot On APIs 14 and above - Seekbars would look

Ahmed Rizwan 157 Dec 27, 2022
Circular SeekBar view for Android

SeekArc What is a SeekArc? So what the heck is a SeekArc? Essentially it’s a SeekBar that has been wrapped around a circle. It acts like a SeekBar and

Neil Davies 870 Dec 10, 2022
A circular seek bar for Android

CircularSeekBar A circular seek bar for Android. Modification 1. Modified setProgress(int progress) method. 2. Added hideSeekBar() To hide seekbar. 3.

Raghav Sood 289 Nov 25, 2022
StartPointSeekBar is a custom view for the Android platform that makes it possible to have a SeekBar to have custom start point.

Forked/Inspired from https://code.google.com/p/range-seek-bar/ by [email protected] This solves the problem as described in http://

Gaurav Vashisth 142 Dec 29, 2022
A color picker seekbar for android.

ColorSeekBar A color picker seekbar for android. Download Use Gradle compile 'com.divyanshu.colorseekbar:colorseekbar:1.0.2' or Maven <dependency>

Divyanshu Bhargava 129 Nov 29, 2022
Simple custom Android View providing a Circular spin to SeekBars

CircularSeekBar This is a simple Seek Bar, in the shape of a circle, responsive to the speed of the spin: the faster you spin the control, the faster

Mikel 34 Feb 18, 2022
Ranger is custom view which able to act like android seekbar.

Ranger is custom view which able to act like android seekbar.

Enes Zor 3 Oct 17, 2021
Android widget for selecting a range of values.

MaterialRangeBar MaterialRangeBar is a fork from https://github.com/edmodo/range-bar that adds some basic material styling, as well as start and end v

null 1.7k Dec 30, 2022
Android widget for selecting a range of values.

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

Edmodo 715 Nov 14, 2022
Android View for displaying and selecting values in a circle-shaped View, with animations and touch gestures.

CircleDisplay Android View for displaying and selecting (by touch) values / percentages in a circle-shaped View, with animations. Features Core featur

Philipp Jahoda 287 Nov 18, 2022
An Android Widget for selecting items that rotate on a wheel.

Looking for maintainers I'm no longer active on this project but I'll still focus on fixing crashing issues and review any code changes etc. WheelView

Luke Deighton 888 Jan 3, 2023
An Android TagView Widget. You can edit the tag's style, and set listener of selecting or deleting tag.

Android-Cloud-TagView-Plus ###Introduction An Android Cloud Tag Widget. You can edit the tag's style, and set listener of selecting or deleting tag. U

Kaede Akatsuki 663 Nov 19, 2022
An Android Widget for selecting items that rotate on a wheel.

CursorWheelLayout CursorWheelLayout is an Android library that allows view to be placed on a rotatable wheel. It behaves like a Circular ListView wher

HelloCsl 725 Nov 21, 2022
An Android TagView Widget. You can edit the tag's style, and set listener of selecting or deleting tag.

Android-Cloud-TagView-Plus ###Introduction An Android Cloud Tag Widget. You can edit the tag's style, and set listener of selecting or deleting tag. U

Kaede Akatsuki 663 Nov 19, 2022
:octocat: ≡ DirectSelect is a selection widget with an ethereal, full-screen modal popup displaying the available choices when the widget is interact with.

DIRECT SELECT [JAVA] Selection widget with an ethereal, full-screen modal popup displaying the available choices We specialize in the designing and co

Ramotion 536 Nov 22, 2022
A dual-function menu button that offers a default action as well as the possibility of choosing a different action by selecting from a set of alternatives.

A dual-function menu button that offers a default action as well as the possibility of choosing a different action by selecting from a set of alternatives.

Kojo Fosu Bempa Edue 114 Nov 29, 2022
🚀📱💖Animated LazyColumn/Row changes scale/color with animation and have a current selected item like a Pager. An elegant alternative for selecting from a list

Compose AnimatedList Animated infinite and finite LazyRow and LazyColumn with scale and color animations on scroll change based on how far they are to

Smart Tool Factory 47 Nov 16, 2022