Skip to content

mikeshep/GenieEffectApplication

 
 

Repository files navigation

GenieEffectApplication

Genie effect Android lib

Currently support animation to right/bottom/top sides. Left side is remained to be done.

image

Usage

The sample app shows the way to use this genie effect library.

private AnimSurface mAnimSurface;
if (mAnimSurface == null) {
    mAnimSurface = new AnimSurface(GenieSampleActivity.this);
    mAnimSurface.setLayoutParams(new LinearLayout.LayoutParams(-1, -1));
}
AnimSurfaceUtil.startAnimation(GenieSampleActivity.this, mAnimSurface, image, mReverse);
mReverse = !mReverse;

Thoughts

The main thoughts are like below:

The final path:

pathIllustrate1

The path on half way:

pathIllustrate2

About

Genie effect Android lib

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%