Android.Views.MenuInflater Class
This class is used to instantiate menu XML files into Menu objects.

See Also: MenuInflater Members

Syntax

[Android.Runtime.Register("android/view/MenuInflater", DoNotGenerateAcw=true)]
public class MenuInflater : Java.Lang.Object

Remarks

This class is used to instantiate menu XML files into Menu objects.

For performance reasons, menu inflation relies heavily on pre-processing of XML files that is done at build time. Therefore, it is not currently possible to use MenuInflater with an XmlPullParser over a plain XML file at runtime; it only works with an XmlPullParser returned from a compiled resource (R. something file.)

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1