Genie effect Android lib
Currently support animation to right/bottom/top sides. Left side is remained to be done.
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;
The main thoughts are like below:
The final path:
The path on half way: