Need help with PlayAnimations?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

416 Stars 80 Forks 14 Commits 1 Opened issues


A demo of various animation in latest PlayGames app

Services available


Need anything else?

Contributors list

# 4,238
13 commits


A demo of various animation in latest PlayGames app using the Transition framework of Android.

Minimum SDK>21. This is not a backport of Transition Framework. This demo works above Lollipop only.

Google Play | Youtube

alt tag


When launching another activity,specify the views where you want to perform transition and pass it as a bundle. The launching activity and the launched activity should have common views to perform transition on that pair of views.

 Intent intent=new Intent(mContext, DetailActivity.class);
 ActivityOptions options = ActivityOptions.makeSceneTransitionAnimation(MainActivity.getInstance(),   Pair.create((View) cover, "cover"));

Specify the attribute android:transitionName="cover" in both the view of two activities.Transition framework will look for the views with same transitionName attribute and will apply the auto transition on them.

We will specify the transition in our theme. Add this attribute to your v21 theme


We will define our own custom Transition instead of the default Transition.


<!-- --A custom transition defined in PlayTransition class <!-- -->
    <transition class="com.naman14.playanimations.PlayTransition"></transition>
     <!-- --We are excluding the second view from the custom transition <!-- -->
        <target android:excludeid="@id/icon"></target> /&gt;


(c) 2015 Naman Dwivedi

PlayAnimations is a free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this app. If not, see

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.