An simple & awesome animation library written in Kotlin for Android

Overview

Release

AnimationX

An simple & awesome animation library written in Kotlin for Android

Screenshots

Success

Documentation

Installation


Step 1. Add the JitPack repository to your build file s

	allprojects {
		repositories {
			maven { url 'https://jitpack.io' }
		}
	}

Step 2. Add the dependency

	dependencies {
	        implementation 'com.github.rommansabbir:AnimationX:{Version}'
	}

Version available

Releases
1.0
1.0.1

Usages

    /**
     * Animation can be applied to all views which extends [View]
     * Just call the extension function's according to your requirement
     * To show animation according to your requirement, call the extension function & pass the animation key
     */
     

    /**
    * To show attention animation, call [animationXAttention] & pass the animation key
    */
    imageView.animationXAttention(Attention.ATTENTION_BOUNCE)


    /**
    * To show bounce animation, call [animationXBounce] & pass the animation key
    */
    imageView.animationXBounce(Bounce.BOUNCE_IN)
        

    /**
    * To show fade animation, call [animationXFade] & pass the animation key
    */
    imageView.animationXFade(Fade.FADE_IN_DOWN)
    

    /**
    * To show flip animation, call [animationXFlip] & pass the animation key
    */
    imageView.animationXFlip(Flip.FLIP_IN_X)
        

    /**
    * To show rotate animation, call [animationXRotate] & pass the animation key
    */
    imageView.animationXRotate(Rotate.ROTATE_IN)


    /**
    * To show slide animation, call [animationXSlide] & pass the animation key
    */
    imageView.animationXSlide(Slide.SLIDE_IN_DOWN)


    
    /**
    * To show zoom animation, call [animationXZoom] & pass the animation key
    */
    imageView.animationXZoom(Zoom.ZOOM_IN_DOWN)
    

    /**
     * On the other hand, if you want to show animation manually
     */
     AnimationX().setDuration(2000)
     .setAnimation(Attention.bounce(imageView, AnimationX().getNewAnimatorSet())).start()

Animations

Default value for duration is 1000 Milliseconds.

Class Name
Attention Bounce Fade Flip Rotate Slide Zoom

Attention

Attention
ATTENTION_BOUNCE portfolio_view ATTENTION_FLASH portfolio_view
ATTENTION_PULSE portfolio_view ATTENTION_RUBERBAND portfolio_view
ATTENTION_SHAKE portfolio_view ATTENTION_STAND_UP portfolio_view
ATTENTION_SWING portfolio_view ATTENTION_TA_DA portfolio_view
ATTENTION_WAVE portfolio_view Wobble portfolio_view

Bounce

Bounce
BOUNCE_IN_DOWN portfolio_view BOUNCE_IN_UP portfolio_view
BOUNCE_IN_LEFT portfolio_view BOUNCE_IN_RIGHT portfolio_view
BOUNCE_IN portfolio_view

Fade

Fade
FADE_IN_DOWN portfolio_view FADE_IN_UP portfolio_view
FADE_IN_LEFT portfolio_view FADE_IN_RIGHT portfolio_view
FADE_OUT_DOWN portfolio_view FADE_OUT_UP portfolio_view
FADE_OUT_LEFT portfolio_view FADE_OUT_RIGHT portfolio_view
FADE_IN portfolio_view FADE_OUT portfolio_view

Flip

Flip
FLIP_IN_X portfolio_view FLIP_IN_Y portfolio_view
FLIP_OUT_X portfolio_view FLIP_OUT_Y portfolio_view

Rotate

Rotate
ROTATE_IN_DOWN_LEFT portfolio_view ROTATE_IN_DOWN_RIGHT portfolio_view
ROTATE_IN_UP_LEFT portfolio_view ROTATE_IN_UP_RIGHT portfolio_view
ROTATE_OUT_DOWN_LEFT portfolio_view ROTATE_OUT_DOWN_RIGHT portfolio_view
ROTATE_OUT_UP_LEFT portfolio_view ROTATE_OUT_UP_RIGHT portfolio_view
ROTATE_IN portfolio_view ROTATE_OUT portfolio_view

Slide

Slide
SLIDE_IN_DOWN portfolio_view SLIDE_IN_UP portfolio_view
SLIDE_IN_LEFT portfolio_view SLIDE_IN_RIGHT portfolio_view
SLIDE_OUT_DOWN portfolio_view SLIDE_OUT_UP portfolio_view
SLIDE_OUT_LEFT portfolio_view SLIDE_OUT_RIGHT portfolio_view

Zoom

Zoom
ZOOM_IN_DOWN portfolio_view ZOOM_IN_UP portfolio_view
ZOOM_IN_LEFT portfolio_view ZOOM_IN_RIGHT portfolio_view
ZOOM_OUT_DOWN portfolio_view ZOOM_OUT_UP portfolio_view
ZOOM_OUT_LEFT portfolio_view ZOOM_OUT_RIGHT portfolio_view
ZOOM_IN portfolio_view ZOOM_OUT portfolio_view

This library has been developed based on daimajia/AndroidViewAnimations

Contact me

Portfolio | LinkedIn | Twitter | Facebook

License


Apache Version 2.0

Copyright (C) 2020 Romman Sabbir

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.
You might also like...
Android library to make notes drop animation for music players
Android library to make notes drop animation for music players

VusikView Min SDK 11 Screnshots How to use If you want use this library, you can download project and import it into your workspace and add the projec

A fluent Android animation library
A fluent Android animation library

ViewAnimator A fluent Android animation library ! Usage Animate multiple view from one method ViewAnimator .animate(image) .transla

Android Library to create Lottie animation view dialog easily with a lot of customization
Android Library to create Lottie animation view dialog easily with a lot of customization

LottieDialog Android Library to create Lottie animation view dialog easily with a lot of customization Why you should use Lottie Dialog You have no li

Android Library to create Lottie animation view dialog easily with a lot of customization
Android Library to create Lottie animation view dialog easily with a lot of customization

Android Library to create Lottie animation view dialog easily with a lot of customization

AppIntroAnimation is a set of code snippets to make cool intro screen for your app with special Image Translation and Transformation animation effects. It is very easy to use and customize without adding third party library integrations. User onboarding library with smooth animation of objects and background colors
User onboarding library with smooth animation of objects and background colors

SlidingTutorial Cleveroad introduces Sliding Tutorial Library for Flutter Hey guys, hope you haven’t started developing a tutorial for your Flutter ap

This library provides easy ways to add onboarding or pager screens with different animation and indicators.
This library provides easy ways to add onboarding or pager screens with different animation and indicators.

WalkThroughAndroid Make amazing OnBoarding Screens easily for your app with different colorful animations, fonts, styles, and many more. Customize you

A library support circular imageview with rotation animation
A library support circular imageview with rotation animation

Circular Imageview with Rotate Animation This is a fast and efficient open source custom imageview for Android that allow to easy implement disc anima

🪐 Jetpack Compose animation library that allows you to implement animations such as shared element transition.
🪐 Jetpack Compose animation library that allows you to implement animations such as shared element transition.

Orbitary 🪐 Jetpack Compose animation library that allows you to implement animations such as shared element transition. Download Gradle Add the depen

Releases(2.0)
Owner
Romman Sabbir
Software Engineer (Android) | Backend Developer | Tech Lover | Music Producer
Romman Sabbir
Awesome keyboard animator that supports Android SDK 23 ✨

KeyboardBeautify Awesome keyboard animator that supports Android SDK 23 ✨ This library was created based on the android/user-interface-samples. Previe

Ji Sungbin 9 Dec 8, 2022
AndroidPhotoFilters aims to provide fast, powerful and flexible image processing instrument for creating awesome effects on any image media.

PhotoFiltersSDK PhotoFiltersSDK aims to provide fast, powerful and flexible image processing instrument for creating awesome effects on any image medi

Zomato 2.5k Dec 23, 2022
Android library to control Transition animates. A simple way to create a interactive animation.

TransitionPlayer Android library to control Transition animates. A simple way to create a interactive animation. Demo1 SimpleTransition Code: ....

林法鑫 1.2k Dec 17, 2022
Android library to control Transition animates. A simple way to create a interactive animation.

TransitionPlayer Android library to control Transition animates. A simple way to create a interactive animation. Demo1 SimpleTransition Code: ....

林法鑫 1.2k Dec 17, 2022
This is a simple util to create Activity transition animation

TransitionHelper This is a simple util to create Activity transition animation API compatible with Android 2.2+ 中文说明 Screenshots How to use 1.startAct

ImmortalZ 1.6k Dec 12, 2022
💳 Bank Card View is a simple and elegant card view with Flip animation.

Visualização de cartão bancário ?? Bank Card View é uma visualização de cartão simples e elegante com animação Flip. Versões Selecione a língua : Engl

Geovani Amaral 10 Dec 12, 2022
💳 Bank Card View is a simple and elegant card view with Flip animation.

Visualização de cartão bancário ?? Bank Card View é uma visualização de cartão simples e elegante com animação Flip. Versões Selecione a língua : Engl

Geovani Amaral 9 Aug 26, 2022
[] Android library for using the Honeycomb animation API on all versions of the platform back to 1.0!

DEPRECATED NineOldAndroids is deprecated. No new development will be taking place. Existing versions will (of course) continue to function. New applic

Jake Wharton 4.5k Jan 9, 2023
Road Runner is a library for android which allow you to make your own loading animation using a SVG image

Road Runner Road Runner is a library for android which allow you to make your own loading animation using a SVG image Sample video View in Youtube Dem

Adrián Lomas 1.2k Nov 18, 2022
FPSAnimator is very easy animation library for Android TextureView and SurfaceView.

FPSAnimator A simple but powerful Tween / SpriteSheet / ParabolicMotion / animation library for Android TextureView and SurfaceView. Features The cont

Masayuki Suda 756 Dec 30, 2022