在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):claucookie/mini-equalizer-library-android开源软件地址(OpenSource Url):https://github.com/claucookie/mini-equalizer-library-android开源编程语言(OpenSource Language):Java 100.0%开源软件介绍(OpenSource Introduction):Mini Equalizer Library for AndroidThis Android Library project is created to let you use a animated equalizer inside your music related apps. Supported Android versions: Android 4.0+ How to use itAdd this to your dependencies: compile 'com.github.claucookie.miniequalizer:library:1.0.0' Layout<es.claucookie.miniequalizerlibrary.EqualizerView
xmlns:custom="http://schemas.android.com/apk/res-auto"
android:id="@+id/equalizer_view"
android:layout_width="30dp"
android:layout_height="30dp"
custom:foregroundColor="@color/link_text_material_light"
custom:animDuration="3500"/> AttributesThere is some custom attributes you can adjust from the xml:
ActivityInitialization + animationTo 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. ContributionEvery idea, fork and suggestion is very welcome. AuthorClaudia Luque Fernández @claucookie Licensehttp://opensource.org/licenses/MIT |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论