/Transitions-Everywhere

Backport of Android Transitions API for animations. Animations backported to Android 4.0+. API compatible with Android 2.2+

Primary LanguageJavaApache License 2.0Apache-2.0

Transitions Everywhere

Backport of Android Transitions API. Animations backported to Android 4.0+. API compatible with Android 2.2+

About

Article about transitions and library. More info here
And in Russian language

Simple example

TransitionManager.beginDelayedTransition(transitionsContainer);
text.setVisibility(visible ? View.VISIBLE : View.GONE);      


Article and sample application contain a lot of examples how to use transitions.

Quick start

dependencies {
    compile "com.andkulikov:transitionseverywhere:1.6.3"
}

Use transition classes from package com.transitionseverywhere.* instead of android.transition.* from android framework Transitions API.

Changelog

1.6.3
Hidden transitions is moved in main package. Proguard rules are removed. Some internal fixes.

1.6.2
Fixed issue with incorrect disappearing when set of more than one Visibility transitions animates the same view
Added two "extra" transitions: Scale (for scaled appearing & disappearing) and TranslationTransition (animates changes of translationX and translationY)

1.6.0
Merge with final Android Marshmallow SDK
PathMotion aka Curved motion is backported!
Bug fixes and performance optimizations.