FileDocCategorySizeDatePackage
MenuView.javaAPI DocAndroid 5.1 API4422Thu Mar 12 22:22:10 GMT 2015com.android.internal.view.menu

MenuView

public interface MenuView
Minimal interface for a menu view. {@link #initialize(MenuBuilder)} must be called for the menu to be functional.
hide

Fields Summary
Constructors Summary
Methods Summary
public intgetWindowAnimations()
Returns the default animations to be used for this menu when entering/exiting.

return
A resource ID for the default animations to be used for this menu.

public voidinitialize(com.android.internal.view.menu.MenuBuilder menu)
Initializes the menu to the given menu. This should be called after the view is inflated.

param
menu The menu that this MenuView should display.