Skip to content
forked from john990/WaveView

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

License

Notifications You must be signed in to change notification settings

HimariO/WaveView

 
 

Repository files navigation

icon

WaveView

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

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"
        />

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%