[android-components](../../index.md) / [mozilla.components.browser.menu.item](../index.md) / [BrowserMenuHighlightableItem](index.md) / [getLayoutResource](./get-layout-resource.md)

# getLayoutResource

`fun getLayoutResource(): <ERROR CLASS>` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/menu/src/main/java/mozilla/components/browser/menu/item/BrowserMenuHighlightableItem.kt#L73)

Overrides [BrowserMenuImageText.getLayoutResource](../-browser-menu-image-text/get-layout-resource.md)

Returns the layout resource ID of the layout to be inflated for showing a menu item of this
type.

