@balysv balysv released this Sep 13, 2016 · 2 commits to master since this release

Assets 2

Major update

  • Stripping main library classes to bare minimum - MaterialMenuDrawable and MaterialMenuView.
  • Removed all extras packages since ActionBarCompat or ActionBarSherlock are not being maintained
    for quite a while now. Most usages will be with Toolbar. Integrating the drawable into it will be up
    to the user of the library (see README or demo).
  • Removed nineoldadroids dependency - reduced method count by 929!
  • Bumped min api version to 14

@balysv balysv released this Sep 12, 2016 · 6 commits to master since this release

Assets 2
  • Added app:mm_iconState="enum" attribute to MaterialMenuView that allows setting the
    initial state of the drawable.

@balysv balysv released this May 30, 2015 · 11 commits to master since this release

Assets 2
  • Use AppCompatActivity instead of ActionBarActivity for extras-toolbar package
  • BUG FIX: MaterialMenuView visibility is now preserved on SavedState

@balysv balysv released this May 14, 2015 · 17 commits to master since this release

Assets 2

API break: Circle pressed state is no longer supported.

MaterialMenu.animatePressedState(IconState) is now deprecated and should be replaced
by MaterialMenu.animateState(IconState)

MaterialMenu.setPressedDuration(int) has been removed.

@balysv balysv released this May 14, 2015

Assets 2

Added new API to allow setting icon visibility

Usage:

MaterialMenu.setVisible(boolean visible)

@balysv balysv released this Jan 31, 2015 · 37 commits to master since this release

Assets 2
  • Added MaterielMenuIcon support for non-Toolbar ActionBarCompat v21

Usage: MaterialMenuIconCompat in extras-toolbar package

  • Added API to set an animation listener to MaterialMenuDrawable

Usage: MaterialMenu.setAnimationListener(Animator.AnimatorListener)

  • BUG FIX: Draw circle pressed state when switching to the same icon

@balysv balysv released this Nov 19, 2014 · 42 commits to master since this release

Assets 2
  • Revamped CHECK and X icons to suit Material design better.

If old icons are required, use material-menu:1.4.0

  • BUG FIX: support all ActionBar Sherlock Activity classes

@balysv balysv released this Oct 19, 2014 · 50 commits to master since this release

Assets 2
  • Added EXTRAS: Toolbar support for MaterialMenuIcon.

Usage:

import com.balysv.materialmenu:material-menu-toolbar:1.x.x and use MaterielMenuIconToolbar

  • BUG FIX: left margin fix for Jellybean and ICS devices using MaterialMenuIcon

@balysv balysv released this Oct 14, 2014 · 58 commits to master since this release

Assets 2
  • UI fix: Remove up arrow indicator margins when using MaterialMenuIcon since
    you could see some extra space on the left side of the icon.
    If a different margin is required, find the 'Home' view of the ActionBar and apply them
    (example for stock ActionBar) :
View view = activity.getWindow().getDecorView().findViewById(
    resources.getIdentifier("android:id/home", null, null)
);
ViewGroup.MarginLayoutParams params = (ViewGroup.MarginLayoutParams) view.getLayoutParams();
params.leftMargin = someMargin;
  • MaterialMenuBase abstraction improvements

@balysv balysv released this Oct 12, 2014 · 66 commits to master since this release

Assets 2
  • 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()