GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — SceneTransitionAnimation/README.md at master · tuikes/SceneTransitionAnimation

Expand file tree

/

README.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
31 lines (14 loc) · 1.29 KB
/

README.md

Copy path

File metadata and controls

31 lines (14 loc) · 1.29 KB
Raw
Copy raw file
Download raw file
Edit and raw actions

SceneTransitionAnimation

activity间跳转时增加动画是很常见的需求,我花了些时间整理了一下,包括使用传统补间动画以及转场动画(API>=21)的方式实现 。

方式一:在调用startActivity或者finish activity时,使用overridePendingTransition实现

ABC

方式二:在主题中设置,如果是application引用的主题中设置,则对整个app均有影响。

ABC

方式三:通过使用系统自带的转场动画效果(Slide/Explode/Fade)方式打开activity

ABC

方式四:通过在主题中设置转场动画(Slide/Explode/Fade)实现;如果是在application引用的主题中设置,则对整个app均有影响。

ABC

方式五:通过在转场动画中增加共享元素实现activity跳转时相关元素动画效果

ABC

方式六:通过在转场动画中增加多个共享元素实现activity跳转时相关元素动画效果

ABC

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.