# Transitions-Everywhere
**Repository Path**: yangyy/Transitions-Everywhere
## Basic Information
- **Project Name**: Transitions-Everywhere
- **Description**: Backport of Transitions API for animations from Android KitKat and Lollipop. Compatible with Android 2.2+
- **Primary Language**: Java
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2016-01-09
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
Transitions Everywhere
============
Backport of [Transitions API from Android KitKat and Lollipop][1]. Compatible with Android 2.2+.
About Transitions API
============
[Video - DevBytes: Android 4.4 Transitions][2]
[Sample project from Google][3]
[Article about transitions and library (in Russian language)][6]
Changelog
============
1.4.0 - Merge with Android M Preview sources
1.3.1 - 1.3.2 - Bug fix
1.3.0 - Merge with changes from Android 5.1
1.2.0 - 1.2.2 - Bug fix
1.1.0 - Port of new transitions from Android 5.0 Lollipop
Simple example
============
Usage
============
Gradle:
```
dependencies {
compile "com.github.andkulikov:transitions-everywhere:1.4.0"
}
```
Use transition classes from package `android.transitions.everywhere.*` instead of `android.transition.*` from android framework Transitions API.
Transitions via XML
============
If you use XML files to create your transitions you need to put them in the res/anim folder instead of the res/transition folder. You need to use application attributes namespase instead of `android:`. For example:
```
```
Transition names of views
============
Android 5.0 adds new method `setTransitionName()` for `View` class. With this library you should call `TransitionManager.setTransitionName(View v, String transitionName)` method instead to provide backward compatibility.
ProGuard configs
============
```
-keep class android.transitions.everywhere.** { *; }
-keep class android.transitions.everywhere.**.** { *; }
```
About library
============
Transition animations backported to Android 3.1.
For Android ver. >= 2.2 and < 3.0 scene to scene (layout to layout) changes is executed by the same API but without animations.
Note: some of transitions classes was marked as hidden by developers of Android. You can find it in package `android.transitions.everywhere.hidden`.
Thanks to github users: [pardom][4] and [guerwan][5]
[1]: http://developer.android.com/reference/android/transition/package-summary.html
[2]: https://www.youtube.com/watch?v=S3H7nJ4QaD8
[3]: https://developer.android.com/samples/BasicTransition/index.html
[4]: https://github.com/pardom/TransitionSupportLibrary
[5]: https://github.com/guerwan/TransitionsBackport
[6]: http://habrahabr.ru/post/243363/
[](https://android-arsenal.com/details/1/1050)