-
Notifications
You must be signed in to change notification settings - Fork 27
Menu: Show & Dismiss Animation
In this library, when building the menu with TimoMenu.Builder, you can specify the menu display and disappear animation call the following method:
setAnimation(Animation show, Animation dismiss)And if you do not want to show any animations when the menu is showing or dismissing, you can call the below method:
setUseDefaultAnimation(boolean use)If you don't specify an show animation and dismiss animation, tthe library will generate a default animation based on the menu location you set.
If the menu is at the bottom(It will rise from the bottom when it is displayed, and will drop at the bottom when it disappears.):

If the menu is at the center(It will gradually become larger when it is displayed, and will gradually become smaller when it disappears.):

If the menu is at the top(It drops from the top when it is displayed, and rises back to the top when it disappears.):

English
Menu
Item
中文
Menu
Item