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 — GitHub - tuikes/SceneTransitionAnimation: activity间跳转时增加动画是很常见的需求,我花了些时间整理了一下,包括使用传统补间动画以及转场动画(API>=21)的方式实现 。希望对大家有用

BranchesTags
Open more actions menu

Latest commit

 

History

12 Commits
12 Commits

Folders and files

NameName
Last commit message
Last commit date
app
app
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
gradle.properties
gradle.properties
 
 
settings.gradle
settings.gradle
 
 

Repository files navigation

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

About

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

Resources

Readme
Activity

Stars

2 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — 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.