Transitions-Everywhere

简介:Backport of Android Transitions API for animations. Animations backported to Android 4.0+. API compatible with Android 2.2+
更多:作者   提 Bug   
标签:

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

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

Changelog

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.

Android 开发经验分享
C 轮融资近 30 亿元理财推荐
Android 开发经验分享
C 轮融资近 30 亿元理财推荐