Skip to content

1.3.0

Compare
Choose a tag to compare
@balysv balysv released this 12 Oct 18:42
· 67 commits to master since this release
  • Added new API to allow manual animation to any IconState. For example when sliding a navigation drawer.

Usage:

MaterialMenu.setTransformationOffset(AnimationState state, float value)

where AnimationState is one of BURGER_ARROW, BURGER_X, ARROW_X, ARROW_CHECK, BURGER_CHECK, X_CHECK and value is between 0 and 2

  • Added RTL layout support. When enabled, it flips all icons horizontally.

Usage: Use API MaterialMenu.setRTLEnabled(boolean enabled) or set an xml attribute mm_rtlEnabled="boolean"

  • Added new API to get current IconState.

Usage: MaterialMenu.getIconState()