Added in API level 21

ActionMenuView


open class ActionMenuView : LinearLayout
kotlin.Any
   ↳ android.view.View
   ↳ android.view.ViewGroup
   ↳ android.widget.LinearLayout
   ↳ android.widget.ActionMenuView

ActionMenuView is a presentation of a series of menu options as a View. It provides several top level options as action buttons while spilling remaining options over as items in an overflow menu. This allows applications to present packs of actions inline with specific or repeating content.

Summary

Nested classes
open

abstract

Interface responsible for receiving menu item click events if the items themselves do not have individual item click listeners.

Inherited XML attributes
Inherited constants
Public constructors

ActionMenuView(context: Context!, attrs: AttributeSet!)

Public methods
open Unit

Dismiss any popups associated with this menu view.

open ActionMenuView.LayoutParams!

open Menu!

Returns the Menu object that this ActionMenuView is currently presenting.

open Drawable?

Return the current drawable used as the overflow icon.

open Int

open Boolean

Hide the overflow items from the associated menu.

open Boolean

Check whether the overflow menu is currently showing.

open Unit

open Unit

open Unit

open Unit

Set the icon to use for the overflow button.

open Unit

Specifies the theme to use when inflating popup menus.

open Boolean

Show the overflow items from the associated menu.

Protected methods
open Boolean

open ActionMenuView.LayoutParams!

open ActionMenuView.LayoutParams!

open Unit
onLayout(changed: Boolean, left: Int, top: Int, right: Int, bottom: Int)

open Unit
onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int)

Inherited functions