Changelog History
Page 1
-
v2.0.0 Changes
September 13, 2016Major update
- Stripping main library classes to bare minimum -
MaterialMenuDrawable
andMaterialMenuView
. - โ Removed all
extras
packages since ActionBarCompat or ActionBarSherlock are not being maintained
for quite a while now. Most usages will be withToolbar
. 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
- Stripping main library classes to bare minimum -
-
v1.5.5 Changes
September 13, 2016- โ Added
app:mm_iconState="enum"
attribute toMaterialMenuView
that allows setting the
๐ initial state of the drawable.
- โ Added
-
v1.5.4 Changes
May 30, 2015- ๐ฆ Use
AppCompatActivity
instead ofActionBarActivity
forextras-toolbar
package - ๐ BUG FIX:
MaterialMenuView
visibility is now preserved onSavedState
- ๐ฆ Use
-
v1.5.3 Changes
May 14, 2015๐ API break: Circle pressed state is no longer supported.
๐
MaterialMenu.animatePressedState(IconState)
is now deprecated and should be replaced
โ byMaterialMenu.animateState(IconState)
๐
MaterialMenu.setPressedDuration(int)
has been removed. -
v1.5.2 Changes
May 14, 2015โ Added new API to allow setting icon visibility
Usage:
MaterialMenu.setVisible(boolean visible)
-
v1.5.1 Changes
January 31, 2015- โ Added MaterielMenuIcon support for non-Toolbar ActionBarCompat v21
๐ฆ Usage:
MaterialMenuIconCompat
inextras-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
-
v1.5.0 Changes
November 19, 2014- ๐ 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
-
v1.4.0 Changes
October 19, 2014- โ Added EXTRAS: Toolbar support for
MaterialMenuIcon
.
Usage:
import
com.balysv.materialmenu:material-menu-toolbar:1.x.x
and useMaterielMenuIconToolbar
- ๐ BUG FIX: left margin fix for Jellybean and ICS devices using
MaterialMenuIcon
- โ Added EXTRAS: Toolbar support for
-
v1.3.1 Changes
October 14, 2014- ๐ 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
- ๐ UI fix: Remove up arrow indicator margins when using
-
v1.3.0 Changes
October 12, 2014- โ 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 ofBURGER_ARROW, BURGER_X, ARROW_X, ARROW_CHECK, BURGER_CHECK, X_CHECK
andvalue
is between0
and2
- โ Added RTL layout support. When enabled, it flips all icons horizontally.
Usage: Use API
MaterialMenu.setRTLEnabled(boolean enabled)
or set anxml
attributemm_rtlEnabled="boolean"
- โ Added new API to get current IconState.
Usage:
MaterialMenu.getIconState()