/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.3+

About

Article about transitions and library. More info here
Russian version
Chinese: version 1, version 2

Article about Support Library for Transitions. Overview and comparison with Transitions-Everywhere

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.7.8"
}

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

Changelog

1.7.8
Fix for ChangeBounds sometimes not applying the latest values. Thanks to lukaville

1.7.7
Fix version resolving issue when use together with the latest suppport libs

1.7.6
Fix for the case when Visibility transition is removing the view from the previous scene. Framework bug for it

1.7.4, 1.7.5
Fixes for color change in ChangeText. Thanks to droidluv and passsy

1.7.3
Fix for TranslationTransition, fix for Visibility transition cancelation when it is using an overlay

1.7.1, 1.7.2
Npe fix, WindowId backport, update PathParser version

1.7.0
Bug fix for rare NPE. Thanks to TealOcean

1.6.9
Bug fix for Scenes when we pass null transition

1.6.8
Bug fix for Recolor. Thanks to twyatt

1.6.7
Merge with Android 7.0. Some internal improvements

1.6.5
Optimizations for ChangeBounds and Fade

1.6.4
Bug fix. Thanks to raycoarana

1.6.3
Hidden transitions are moved in the 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.