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
📱Android Library to implement animated, 😍beautiful, 🎨stylish Material Dialog in android apps easily.

Material Dialogs for Android ?? ?? Android Library to implement animated, ?? beautiful, ?? stylish Material Dialog in android apps easily. 1. Material

Shreyas Patil 875 Dec 28, 2022
MaterialPickers-in-android - A simple android project that shows how to create material pickers for date and time

MaterialPickers-in-android A simple android project that shows how to create mat

Segun Francis 2 Apr 28, 2022
Material Shadows for android : A library for supporting convex material shadows

MaterialShadows A library for seamlessly integrating Material shadows. The library takes existing material shadows to next level by adding the followi

Harjot Singh Oberai 2.2k Dec 19, 2022
A library to bring fully animated Material Design components to pre-Lolipop Android.

Material MaterialLibrary is an Open Source Android library that back-port Material Design components to pre-Lolipop Android. MaterialLibrary's origina

Rey Pham 6k Dec 21, 2022
😍 A beautiful, fluid, and extensible dialogs API for Kotlin & Android.

Material Dialogs View Releases and Changelogs Modules The core module is the fundamental module that you need in order to use this library. The others

Aidan Follestad 19.5k Dec 31, 2022
The flexible, easy to use, all in one drawer library for your Android project. Now brand new with material 2 design.

MaterialDrawer ... the flexible, easy to use, all in one drawer library for your Android project. What's included ?? • Setup ??️ • Migration Guide ??

Mike Penz 11.6k Dec 27, 2022
Floating Action Button for Android based on Material Design specification

FloatingActionButton Yet another library for drawing Material Design promoted actions. Features Support for normal 56dp and mini 40dp buttons. Customi

Zendesk 6.4k Dec 26, 2022
Implementation of Ripple effect from Material Design for Android API 9+

RippleEffect ExpandableLayout provides an easy way to create a view called header with an expandable view. Both view are external layout to allow a ma

Robin Chutaux 4.9k Dec 30, 2022
Material Design implementation for Android 4.0+. Shadows, ripples, vectors, fonts, animations, widgets, rounded corners and more.

Carbon Material Design implementation for Android 4.0 and newer. This is not the exact copy of the Lollipop's API and features. It's a custom implemen

null 3k Jan 9, 2023
Animations for Android L drawer, back, dismiss and check icons

Material Menu Morphing Android menu, back, dismiss and check buttons Have full control of the animation: Including in your project compile 'com.balysv

Balys Valentukevicius 2.5k Jan 3, 2023
Android L Ripple effect wrapper for Views

Material Ripple Layout Ripple effect wrapper for Android Views Including in your project compile 'com.balysv:material-ripple:1.0.2' Check for latest v

Balys Valentukevicius 2.3k Dec 29, 2022
An Android library aimed to get the beautiful CardViews that Google shows at its official design specifications

MaterialList Discontinued This library will not receive any updates, as I do not have the time or knowledge to improve it. If anyone forks it and want

null 1.6k Nov 29, 2022
Android drawer icon with material design animation

LDrawer Android drawer icon with material design animation Note Basically same as appcompat_v7 version 21, you can use appcompat_v7 compile 'com.andro

Hasan Keklik 1.4k Dec 25, 2022
[] Android Library that implements Snackbars from Google's Material Design documentation.

DEPRECATED This lib is deprecated in favor of Google's Design Support Library which includes a Snackbar and is no longer being developed. Thanks for a

null 1.5k Dec 16, 2022
A material horizontal calendar view for Android based on RecyclerView

Horizontal Calendar A material horizontal calendar view for Android based on RecyclerView. Installation The library is hosted on jcenter, add this to

Mulham Raee 1.2k Dec 15, 2022
Android Sample Project with Material Design and Toolbar.

AndroidMaterialDesignToolbar -- PROJECT IS NOT SUPPORTED Android Sample Project with Material Design and Toolbar. Project use Appcompat library for ma

kemal selim tekinarslan 713 Nov 11, 2022
Material style circular progress bar for Android

Material CircularProgressView Indeterminate Determinate Description This CircularProgressView is a (surprisingly) circular progress bar Android View t

Rahat Ahmed 760 Nov 30, 2022
Android - draw z-depth shadow of MaterialDesign

ZDepthShadowLayout Android - draw z-depth shadow of MaterialDesign Demo Screen Capture Download apply plugin: 'com.android.application' repositories

sho5nn 573 Nov 28, 2022
Ripple effect for Android 14+

RippleDrawable Port of Android <ripple> effect for pre lollipop devices with android 14 + (ICS+) (well, since NineOldAndroids is deprecated, this libr

Ozodrukh 516 Nov 25, 2022