Android开发简单易用的音乐频谱效果
来源:互联网 发布:扫描文字的软件 编辑:程序博客网 时间:2024/06/05 20:14
先贴个图看看效果
使用说明:
首先添加依赖- dependencies {
- compile 'com.taishi-y:musicindicator:0.1.0'
- }
XML
- <com.taishi.library.Indicator
- android:id="@+id/indicator"
- android:layout_width="match_parent"
- android:layout_height="180dp"
- android:layout_alignParentTop="true"
- android:background="#000000"
- app:bar_num="50"
- app:bar_color="#1DD069"
- app:step_num="70"
- app:duration="20000"
- />
Sample
1 - Normal Music Indicator- <com.taishi.library.Indicator
- android:id="@+id/indicator"
- android:layout_width="match_parent"
- android:layout_height="180dp"
- android:layout_alignParentTop="true"
- android:background="#000000"
- app:bar_num="50"
- app:bar_color="#1DD069"
- app:step_num="70"
- app:duration="20000"
- />
- <RelativeLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="10dp"
- android:background="@drawable/circle">
- <com.taishi.library.Indicator
- android:layout_width="50dp"
- android:layout_height="50dp"
- android:layout_margin="20dp"
- app:bar_num="3"
- app:bar_color="#fff"
- app:step_num="10"
- app:duration="3000"/>
- </RelativeLayout>
- <shape xmlns:android="http://schemas.android.com/apk/res/android"
- android:shape="oval">
- <solid
- android:color="#48b3ff"/>
- </shape>
阅读全文
0 0
- Android开发简单易用的音乐频谱效果
- android获取和展示音乐的频谱
- android获取和展示音乐的频谱
- android获取和展示音乐的频谱
- android获取和展示音乐的频谱
- Android 音乐频谱实现
- android 音乐频谱
- android 音乐频谱
- Android 音乐频谱实现
- Android 音乐频谱实现
- android音乐频谱解析
- Android 音乐频谱实现
- android音乐频谱解析
- android音乐柱状频谱实现
- android音乐柱状频谱实现
- android音乐柱状频谱实现
- android音乐柱状频谱实现
- Android 音乐柱状频谱控件
- RecycleView 万能分割线
- ImageNet2017 周记之第一周
- PHP条件语句
- 根据鼠标坐标取该坐标下的元素,包括touch
- 【怎样写代码】实现对象的复用 -- 享元模式(一):问题案例
- Android开发简单易用的音乐频谱效果
- 关于maven项目红叹号问题
- Redis数据类型
- Makefile经典教程(掌握这些足够)
- Java list 三级排序
- Java 阶段学习总结
- UItextView未按指定样式换行解决方案
- Linux FAQ 与学习笔记
- JVM原理和优化