text
The text of the menu item. The default text depends on what
type of menu item this is. The default text of a
SectionItem
, for example, will be the
name of the referenced section. However, the default text may have
been overridden by specifying a text
element in the menu resource. If a menu item has been given several
such text
elements with different
language attributes, then you can select the required language by
passing in a language ID. The requested language is returned if
possible, otherwise the default language text is returned.
Type: java.lang.String
Example usage
${myMenuItem.text}