Transitions-Everywhere

来源:互联网 发布:php通过ip获取经纬度 编辑:程序博客网 时间:2024/06/13 03:22

Transitions-Everywhere

项目地址:andkulikov/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.5"}

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

Changelog

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.

原创粉丝点击