Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chenlittleping/waveprogressbar
A round loading view with dynamic wave(使用二阶贝塞尔曲线实现的圆形动态波浪)
https://github.com/chenlittleping/waveprogressbar
android canvas path waveprogressbar
Last synced: 16 days ago
JSON representation
A round loading view with dynamic wave(使用二阶贝塞尔曲线实现的圆形动态波浪)
- Host: GitHub
- URL: https://github.com/chenlittleping/waveprogressbar
- Owner: ChenLittlePing
- Created: 2017-05-11T02:34:13.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-05-12T09:30:40.000Z (over 7 years ago)
- Last Synced: 2024-12-03T02:44:16.166Z (26 days ago)
- Topics: android, canvas, path, waveprogressbar
- Language: Java
- Homepage:
- Size: 580 KB
- Stars: 13
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WaveProgressBar
A round loading view with dynamic wave
一个使用Path的二阶贝塞尔曲线画出波浪,并实现动态滚动的Loading控件![image](https://github.com/ChenLittlePing/WaveProgressBar/blob/master/gif/demo.gif)
![image](https://github.com/ChenLittlePing/WaveProgressBar/blob/master/gif/demo1.gif)
## How to use
#### In XML
```xml
```#### In Activity
```java
mWave = (WaveProgressBar) findViewById(R.id.wave);
mWave.setProgress(50);
//mWave.AnimateText(true, false);
```