android.support.v4.view
Class MenuCompat

java.lang.Object
  extended by 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.


Constructor Summary
MenuCompat()
           
 
Method Summary
static boolean setShowAsAction(android.view.MenuItem item, int actionEnum)
          Deprecated. Use MenuItemCompat.setShowAsAction(MenuItem, int)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MenuCompat

public MenuCompat()
Method Detail

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.