Android APIs
public final class

MenuCompat

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

Class Overview

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)
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static void setShowAsAction (MenuItem item, int actionEnum)

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

Call MenuItem.setShowAsAction().

Parameters
item MenuItem
actionEnum int