/ Animations

A simple animation with tanslation or scale views written in Java

A simple animation with tanslation or scale views written in Java

OrionPreview

OrionPreview is a simple animation with tanslation or scale views written in Java.

orion_preview

Purpose

A simple animation with translation or scale views.

Installation

compile 'com.github.applikeysolutions:orionpreview:1.0.1'

Usage

Scale Animation

ScaleAnimation scaleAnimation =
                        new ScaleAnimation.ScaleAnimationBuilder(view, scaleRate, scaleRate)
                        .build();
scaleAnimation.showAnimation();

Translation Animation

TranslationAnimation tanslationAnimation =
                        new TranslationAnimation.TranslationAnimationBuilder(view,
                                               TranslationAnimation.TranslationMode.TranslationAll, startY, endY)
                                               .arcMode(TranslationAnimation.ArcMode.ArcUpward)
                                               .additionStartPoint(startX)
                                               .additionEndPoint(endX)
                                               .build();
tanslationAnimation.showAnimation();

Blur Animation

BlurAnimation blurAnimation =
                        new BlurAnimation.BlurAnimationBuilder(bitmapScale, blurRadius)
                        .build();
Bitmap originalBitmap = BitmapFactory.decodeResource(getResources(),
                R.drawable.image);
blurredBitmap = blurAnimation.blur(MainActivity.this, originalBitmap)

GitHub