GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - JayneeLegend/WaveLoadingView

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

3 Commits
3 Commits

Folders and files

NameName
Last commit message
Last commit date
.idea
.idea
 
 
gradle/wrapper
gradle/wrapper
 
 
library
library
 
 
sample
sample
 
 
screenshots
screenshots
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle
settings.gradle
 
 

Repository files navigation

WaveLoadingView

Android Arsenal License

WaveLoadingView - An Android library providing to realize wave loading effect.

screenshot

Sample

sample

Usage

For a working implementation of this project see the sample/ folder.

Setp 1

Include the library as local library project or add the dependency in your build.gradle.

dependencies {
    compile 'me.itangqi.waveloadingview:library:0.1.2'
}

Step 2

Include the WaveLoadingView widget in your layout. And you can customize it like this.

<me.itangqi.waveloadingview.WaveLoadingView
        android:id="@+id/waveLoadingView"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:borderWidth="3"
        app:borderColor="@color/colorAccent"
        app:progressValue="40"
        app:shapeType="circle"
        app:waveColor="@color/colorAccent"
        app:waveAmplitude="50"
        app:titleTop="Top Title"
        app:titleTopColor="@color/colorPrimaryText"
        app:titleTopSize="20"
        app:titleCenter="Center Title"
        app:titleCenterColor="@color/colorPrimaryText"
        app:titleCenterSize="24"
        app:titleBottom="Bottom Title"
        app:titleBottomColor="@color/colorPrimaryText"
        app:titleBottomSize="20"         

Step 3

Absolutely,you can write some animation codes to the callbacks such as setOnCheckedChangeListener, onProgressChanged, etc in your Activity.

WaveLoadingView mWaveLoadingView = (WaveLoadingView) findViewById(R.id.waveLoadingView);
	mWaveLoadingView.setShapeType(WaveLoadingView.ShapeType.CIRCLE);
	mWaveLoadingView.setTopTitle("Top Title");
	mWaveLoadingView.setCenterTitleColor(Color.GRAY);
	mWaveLoadingView.setBottomTitleSize(18);
	mWaveLoadingView.setProgress(80);
	mWaveLoadingView.setBorderWidth(10);
	mWaveLoadingView.setAmplitudeRatio(60);
	mWaveLoadingView.setWaveColor(Color.GRAY);
	mWaveLoadingView.setBorderColor(Color.GRAY);

Customization

Do what you what :)

  • app:borderWidth (integer) Default to be 0
  • app:borderColor (color)
  • app:progressValue (integer) Set ProgressValue
  • app:shapeType (circle/square) Default to be circle
  • app:waveColor (color)
  • app:waveAmplitude (integer) Set Wave Amplitude (between 1 and 100)
  • app:titleTopSize (float)
  • app:titleCenterSize (float)
  • app:titleBottomSize (float)
  • app:titleTopColor (color)
  • app:titleCenterColor (color)
  • app:titleBottomColor (color)
  • app:titleTop (string) default to be ""
  • app:titleCenter (string)
  • app:titleBottom (string)

All attributes have their respective getters and setters to change them at runtime.

Demo

Download

Community

Looking for contributors, feel free to fork !

Tell me if you're using my library in your application, I'll share it in this README.

Thanks

Inspired by

  • WaveView created by gelitenight
  • CircularFillableLoaders created by lopspower

Contact Me

Born in 1992, now a student of Southeast University, master of Software Engineering. Loving technology, programming, reading and sports.

I will graduate in June 2017, expect the internship or full-time job in Android or iOS.

If you have any questions or want to make friends with me, please feel free to contact me : imtangqi#gmail.com

License

Copyright 2014 Qi Tang

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.