Most visited

Recently visited

MenuCompat

public final class MenuCompat
extends Object

java.lang.Object
   ↳ android.support.v4.view.MenuCompat


Helper for accessing features in Menu introduced after API level 4 in a backwards compatible fashion.

Summary

Public methods

static void setShowAsAction(MenuItem item, int actionEnum)

This method is deprecated. Use MenuItemCompat.setShowAsAction(MenuItem, int)

Inherited methods

From class java.lang.Object

Public methods

setShowAsAction

void setShowAsAction (MenuItem item, 
                int actionEnum)

This method is deprecated.
Use MenuItemCompat.setShowAsAction(MenuItem, int)

Call MenuItem.setShowAsAction().

Parameters
item MenuItem
actionEnum int

Hooray!