android.support.v4.view
Class MenuCompat
java.lang.Object
android.support.v4.view.MenuCompat
public class MenuCompat
- extends Object
Helper for accessing features in Menu
introduced after API level 4 in a backwards compatible fashion.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MenuCompat
public MenuCompat()
setShowAsAction
public static boolean setShowAsAction(android.view.MenuItem item,
int actionEnum)
- Deprecated. Use
MenuItemCompat.setShowAsAction(MenuItem, int)
- Call
MenuItem.setShowAsAction()
.
If running on a pre-Build.VERSION_CODES.HONEYCOMB
device,
does nothing and returns false. Otherwise returns true.
Copyright © 2013 Marek Kedzierski. All Rights Reserved.