MaterialDesignMenuMpdam
MaterialDesignMenuMpdam copied to clipboard
Material Design Menu for Android
Androgeek animation
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.
Usage
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
onCreatemethod 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.
Misc
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.
Compatibility
- Android 4.0.3 Ice Cream Sandwich (API level 15)
Changelog
Version: 1.0
- Initial Build
License
Copyright 2015, MPDAM ISETR .
L'Androgeek Amin Ghabi .