This library simulates some animations on the drawer icon on the titlebar that are coming in on the material design.
It comes from this library: https://github.com/balysv/material-menu
Dependencies:
- The NineOldAndroid java package, is included in the zip file.
Credits:
Thanks to Informatix for his NineOldAndroids library and for modifying it for me.
Sample:
This will work best with StdActionBar+StdActionBarHelper (wish they were merged).
It comes from this library: https://github.com/balysv/material-menu
Dependencies:
- The NineOldAndroid java package, is included in the zip file.
Credits:
Thanks to Informatix for his NineOldAndroids library and for modifying it for me.
Sample:
B4X:
Dim StdABHelper As StdActionBarHelper
Dim MMenu As MSMaterialMenu
StdABHelper.Initialize
MMenu.Initialize("MMenu")
MMenu.setScaleAndStroke(1,2)
MMenu.Color = Colors.Black
StdABHelper.Icon = MMenu.Drawable
Sub StdAB_ButtonClicked
If MMenu.State = "BURGER" Then
MMenu.animatePressedState("X")
NavDrawer.OpenDrawer
Else
MMenu.animatePressedState("BURGER")
NavDrawer.CloseDrawer
End If
End Sub
This will work best with StdActionBar+StdActionBarHelper (wish they were merged).
Attachments
Last edited: