Popularity
7.2
Growing
Activity
0.0
Stable
1,177
43
231

Code Quality Rank: L3
Programming language: Java
Tags: Animations    

TransitionPlayer alternatives and similar packages

Based on the "Animations" category

Do you think we are missing an alternative of TransitionPlayer or a related project?

Add another 'Animations' Package

README

TransitionPlayer

Android library to control Transition animates. A simple way to create a interactive animation.

Demo1 SimpleTransition

[image](demo/demo_drawerlayout.gif)

Code:

    ......
    TransitionManager.beginDelayedTransition(mSceneRoot, transitionPlayer);

    imageView.setRotation(360);
    imageView.setRotationX(270);
    imageView.setRotationY(180);
    imageView.setTranslationX(70 * getResources().getDisplayMetrics().density);
    imageView.setScaleX(0.2f);
    imageView.setScaleY(0f);
    imageView.setBackgroundColor(getResources().getColor(android.R.color.holo_blue_bright));
    ......
    drawerLayout.setDrawerListener(new DrawerLayout.SimpleDrawerListener() {
        public void onDrawerSlide(View drawerView, float slideOffset) {
            transitionPlayer.setCurrentFraction(slideOffset);
        }
    });

Demo2 MaterialMenu

[image](demo/demo_menu.gif)

Code:

    ......
    int[] layouts = new int[]{R.layout.material_menu_option, R.layout.material_menu_back, R.layout.material_menu_y};
    Scene scene = Scene.getSceneForLayout(mSceneRoot, layout[random.nextInt(layouts.length)], context);
    TransitionManager.go(scene, transitionPlayer);
    ......
    drawerLayout.setDrawerListener(new DrawerLayout.SimpleDrawerListener() {
        public void onDrawerSlide(View drawerView, float slideOffset) {
            transitionPlayer.setCurrentFraction(slideOffset);
        }
    });

Demo3 ChromeAppIndexPage

[image](demo/demo_chrome_home.gif)

Code:

[ChromeHomeDemo.java](demo/src/main/java/com/linfaxin/transitionplayer/demo/ChromeHomeDemo.java)

License

MIT License.


*Note that all licence references and agreements mentioned in the TransitionPlayer README section above are relevant to that project's source code only.