WaveView

General

Category
Free
Tag
Progress Indicators
License
N/A
Min SDK
8 (Android 2.2–2.2.3 Froyo)
Registered
Dec 24, 2014
Favorites
4
Link
https://github.com/john990/WaveView
See also
LoadingView
KProgressHUD
StepView
StepView
ProgressStatusBar

Additional

Language
Java
Version
v0.9 (Apr 5, 2016)
Created
Jun 17, 2014
Updated
Feb 23, 2021
Owner
Kai Wang (john990)
Contributors
Kai Wang (john990)
The Gitter Badger (gitter-badger)
ez0ne
LiuFuXin (liufuxin)
汪海游龙 (81813780)
5
Activity
Badge
Generate
Download
Source code
APK file

Show card

WaveView

![Gitter](https://badges.gitter.im/Join Chat.svg)

A wave view of android,can be used as progress bar.

Screenshot


APK


demo.apk

What can be used as


  • background
  • progress bar

How to use


https://github.com/john990/WaveView/blob/master/app/src/main/res/layout/main.xml#L7-L17

    <com.john.waveview.WaveView
        android:id="@+id/wave_view"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="#ff702e8c"
        wave:above_wave_color="@android:color/white"
        wave:blow_wave_color="@android:color/white"
        wave:progress="80"
        wave:wave_height="little"
        wave:wave_hz="normal"
        wave:wave_length="middle" />

or you can just use(default progress is 80%)

    <com.john.waveview.WaveView
        android:id="@+id/wave_view"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@color/holo_purple"
        />

dependencies

allprojects {
  repositories {
   ...
   maven { url "https://jitpack.io" }
  }
 }
 
 dependencies {
         compile 'com.github.john990:WaveView:v0.9'
 }