Fixed Action Menu Item
constructor(@NonNull context: Context, @IdRes itemId: Int, @DrawableRes drawableResId: Int, @StringRes labelResId: Int)
Create fixed menu item.
Parameters
context
Context used for retrieving drawable with drawableResId
from resources.
item Id
Id used to identify this menu item.
drawable Res Id
Resource id of the menu item's icon.
label Res Id
resource id of the menu item's label.
constructor(@NonNull context: Context, @IdRes itemId: Int, @DrawableRes drawableResId: Int, label: String)
Create fixed menu item.
Parameters
context
Context used for retrieving drawable with drawableResId
from resources.
item Id
Id used to identify this menu item.
drawable Res Id
Resource id of the menu item's icon.
label
Label of the menu item.
Create fixed menu item.
Parameters
item Id
Resource id representing menu item.
icon
Icon for the menu item.
label
Label of the menu item.