首页 » Andorid » 安卓例子 » 正文

显示如何实现共享元素图像过渡

ImageTransition

This is a pet project that shows how to implement shared element image transition on pre-Lollipop devices on Android.

Pre-Lolipop Demo

If you look closer there is almost no difference between the native Android Lollipop shared element aniamation

Animation and canceling animation in the middle of it.

support_animation cancel support animation in the middle

Lollipop native animation

lollipop animation

Details of implementation

Medium

License

Copyright 2016 Danylo Volokh

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.

下载 (0)

发表评论