This repository provides an example of animating text and images between different activities by using SharedElementTransitions ( API 21 and above ).
Below an example of how the transition looks like.
The example provides two different animations that play together:
-
TextTransition which animates text position, size and color changes smoothly (Thanks to alexloockwood), REF!
-
RevealTransition which animates an ImageView transition by using a reveal animation, and an ArcMotion path.
Coming soon...
Coming soon...
- First release, both animation working but with a lot of hardcoded parts.
- Thanks to Alex Lockwood for TextSizeTransition classes and Activity Transition posts.
- Thanks to George Mount for the blog post and code about reveal transition Reveal Activity Transitions.
Author: Nicola Dorigatti
Copyright (c) 2015 Nicola Dorigatti.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.