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

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

Changelog

1.7.1
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 开发经验分享
用了一年多的理财推荐
Android 开发经验分享
用了一年多的理财推荐