jenly1314 / Waveview
Licence: mit
🏄 WaveView 一个水波纹动画控件视图,支持波纹数,波纹振幅,波纹颜色,渐变色,波纹速度,波纹方向等属性完全可配。
Stars: ✭ 81
Programming Languages
java
68154 projects - #9 most used programming language
Projects that are alternatives of or similar to Waveview
Hgrippleradarview
A beautiful radar view to show nearby items (users, restaurants, ...) with ripple animation, fully customizable
Stars: ✭ 309 (+281.48%)
Mutual labels: wave, ripple
Paper Ripple
Material Design Ripple effect in pure JS & CSS.
Stars: ✭ 55 (-32.1%)
Mutual labels: wave, ripple
Wave Simulator
A graphical 3D simulation of the wave and heat equations
Stars: ✭ 5 (-93.83%)
Mutual labels: wave
Cryptolights
Live visualisation of blockchain transactions for popular cryptocurrencies
Stars: ✭ 54 (-33.33%)
Mutual labels: ripple
Maker.js
📐⚙ 2D vector line drawing and shape modeling for CNC and laser cutters.
Stars: ✭ 1,185 (+1362.96%)
Mutual labels: bezier
Macsvg
macSVG - An open-source macOS app for designing HTML5 SVG (Scalable Vector Graphics) art and animation with a WebKit web view ➤➤➤
Stars: ✭ 789 (+874.07%)
Mutual labels: bezier
Korma
Mathematics library focused on geometry for Multiplatform Kotlin 1.3
Stars: ✭ 65 (-19.75%)
Mutual labels: bezier
Scenekit Bezier Animations
Create animations over Bezier curves of any number of points
Stars: ✭ 35 (-56.79%)
Mutual labels: bezier
Ripple Lib
A JavaScript API for interacting with the XRP Ledger in Node.js and the browser
Stars: ✭ 899 (+1009.88%)
Mutual labels: ripple
Cpp Spline
Package provides C++ implementation of spline interpolation
Stars: ✭ 54 (-33.33%)
Mutual labels: bezier
Gsyrecordwave
MP3音频录制,支持类似IOS原生的单边或者双边波形显示,低版本音频权限兼容,本地或者在线音频播放的波形显示,录制波形和播放波形会根据声音频率变色的功能,边播边缓存功能,简书入口http://www.jianshu.com/p/2448e2903b07
Stars: ✭ 810 (+900%)
Mutual labels: wave
Mgs Skinnedmesh
Unity plugin for create flexible hose in scene.
Stars: ✭ 58 (-28.4%)
Mutual labels: bezier
Bezierpath Length
A simple API to get the length of a CGPath, UIBezierPath or NSBezierPath, written in Swift.
Stars: ✭ 78 (-3.7%)
Mutual labels: bezier
WaveView
WaveView for Android 是一个水波纹动画控件视图,支持波纹数,波纹振幅,波纹颜色,波纹速度,波纹方向等属性完全可配。
Gif 展示
WaveView自定义属性说明
属性 | 值类型 | 默认值 | 说明 |
---|---|---|---|
waveCount | integer | 2 | 波纹数量 |
waveColor | color | #3F00B9D2 | 波纹颜色 |
waveAmplitude | dimension | 20dp | 波纹振幅 |
waveMaxSpeed | dimension | 4dp | 波纹最大速度 |
waveMinSpeed | dimension | 2dp | 波纹最小速度 |
waveRefreshInterval | integer | 15 | 刷新频率时间间隔,单位:毫秒 |
waveAutoAnim | boolean | true | 是否自动播放动画 |
waveInverted | boolean | false | 是否倒置 |
waveDirection | enum | DIRECTION.LEFT_TO_RIGHT | 波纹方向,默认从左到右 |
waveVertical | boolean | false | 是否垂直 |
引入
Maven:
<dependency>
<groupId>com.king.view</groupId>
<artifactId>waveview</artifactId>
<version>1.0.1</version>
<type>pom</type>
</dependency>
Gradle:
implementation 'com.king.view:waveview:1.0.1'
Lvy:
<dependency org='com.king.view' name='waveview' rev='1.0.1'>
<artifact name='$AID' ext='pom'></artifact>
</dependency>
如果Gradle出现compile失败的情况,可以在Project的build.gradle里面添加如下:(也可以使用上面的GitPack来complie)
allprojects {
repositories {
maven { url 'https://dl.bintray.com/jenly/maven' }
}
}
示例
布局示例
<com.king.view.waveview.WaveView
android:id="@+id/waveView"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
代码示例
//开始动画
waveView.start();
//停止动画
waveView.stop();
更多使用详情,请查看app中的源码使用示例
版本记录
v1.0.1:2019-11-8
- 移除Support.appcompat-v7依赖
v1.0.0:2019-2-23
- WaveView初始版本
赞赏
如果您喜欢WaveView,或感觉WaveView帮助到了您,可以点右上角“Star”支持一下,您的支持就是我的动力,谢谢 😃
您也可以扫描下面的二维码,请作者喝杯咖啡 ☕️
关于我
Name: Jenly
Email: jenly1314#gmail.com / jenly1314#vip.qq.com
CSDN: jenly121
博客园: jenly
Github: jenly1314
加入QQ群: 20867961
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].