WaveView

Additional

Language
Java
Version
v0.9 (Apr 5, 2016)
Created
Jun 17, 2014
Updated
May 4, 2018
Owner
Kai Wang (john990)
Contributors
Kai Wang (john990)
gitter-badger
ez0ne
liufuxin
Jack Wang (81813780)
5
Activity
Badge
Generate
Download
Source code
APK file

Commercial

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'
 }