New library, that provides a simple way to implement Material design styled Menu animation for your apps.
this is a screenshot for this styled Menu animation.
For a working implementation, have a look at the app module
-
Include the library as local library project.
-
Your hamburger on navigation menu must have exactly same coordinates as hamburger on ActionBar.
-
In your
onCreate
method you need to config and build animation with AndrogeekAnimation.GuillotineBuildernew AndrogeekAnimation.GuillotineBuilder(AndrogeekMenu, AndrogeekMenu.findViewById(R.id.androgeek_hamburger), contentHamburger) .setActionBarViewForAnimation(toolbar) .build();
Here setActionBarViewForAnimation
method enables bounce effect of ActionBar at the end of the guillotine closing animation.
Builder allows you to customize start delay, duration, interpolation and you can set listener if you want to do staff at the moment when menu has been opened or closed.
- Android 4.0.3 Ice Cream Sandwich (API level 15)
- Initial Build
Copyright 2015, MPDAM ISETR .
L'Androgeek Amin Ghabi .