mini-equalizer-library-android

by claucookie

Mini equalizer for Android apps.

133 Stars 49 Forks Last release: Not found GNU General Public License v2.0 17 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Mini Equalizer Library for Android

This Android Library project is created to let you use a animated equalizer inside your music related apps.

Android Arsenal

Supported Android versions: Android 4.0+

How to use it

Add this to your dependencies:

compile 'com.github.claucookie.miniequalizer:library:1.0.0'

Layout


Attributes

There is some custom attributes you can adjust from the xml: - foregroundColor : the equalizer bars color (default is black) - animDuration : (millisecs) the animation follows a pattern and the number of loops is infinite. To set the duration of each loop, use this attribute.

Activity

Initialization + animation

To start animating the equalizer you should add:

EqualizerView equalizer = (EqualizerView) findViewById(R.id.equalizer_view);
equalizer.animateBars(); // Whenever you want to tart the animation
equalizer.stopBars(); // When you want equalizer stops animating

And... that's it!, so simple.

Example of and app using the equalizer

Contribution

Every idea, fork and suggestion is very welcome.

Author

Claudia Luque Fernández @claucookie

License

http://opensource.org/licenses/MIT

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.