Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
E

EasyTransition

> 编程语言
Open source

A light Shared Elements Transition lib for Android.

394 stars0 likes1 views
WebsiteGitHub

About

A light Shared Elements Transition lib for Android.

EasyTransition

A light transition lib(with only 2 files...) for Android, scince shared elements transition is not supported before LOLLIPOP, using EasyTransition can easily make fun transition animation between elements in two activities. Enjoy it!

ScreenShots

Usage

1.Add the library.

Add to your root build.gradle:

xml
allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

Add the dependency:

xml
dependencies {
    compile 'com.github.huzenan:EasyTransition:v1.0.0'
}

2.Using same ids between two Views in two layouts.

xml
    
    
    
    
    

3.In Activity A, make transition options, and start Activity B with EasyTransition#startActivity.

java
    // ready for transition options
    EasyTransitionOptions options =
        EasyTransitionOptions.makeTransitionOptions(
            ActivityA.this,
            findViewById(R.id.iv_icon),
            findViewById(R.id.tv_name)); // add as many views as you like

    // start transition
    Intent intent = new Intent(ActivityA.this, ActivityB.class);
    EasyTransition.startActivity(intent, options);

4.In Activity B, enter transition when creating, and exit transition when backing.

java
    // onCreate
    EasyTransition.enter(ActivityB.this);
    
    // onBackPressed
    EasyTransition.exit(ActivityB.this);

Attributes

Usage above is only the minimum choice, you can set attributes like duration, time interpolator and so on, have fun!

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Java

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言