- support androidX and Kotlin
implementation 'kv.vension:visualizerview_kotlin:_latestVersion'
- 具体使用查看demo示例
Attribute 属性 | Description 描述 |
---|---|
kv_hasShadow | 是否有倒影,默认false |
kv_shadowNum | 倒影音频块数,默认5 |
kv_shadowColor | 倒影颜色,默认Color.GRAY |
kv_visualColor | 音频块颜色,默认Color.RED |
kv_isGradient | 音频块颜色是否渐变,默认false |
kv_colorStart | 渐变开始颜色,默认"#A47586" |
kv_colorCenter | 渐变中间颜色,默认"#C36084" |
kv_colorEnd | 渐变结束颜色,默认"#F14380" |
- V_1.0.0: <初始化版本>
- V_1.0.1: <降低minSDK到16+>
Copyright 2019, Vension
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:https://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.