ActionMenuItemViewBadgedWrapper

Wrapper FrameLayout that overlays a One UI badge layout over an ActionMenuItemView.

Constructors

Link copied to clipboard
constructor(context: Context, menuItemView: ActionMenuItemView)
Creates a badged wrapper frame around the given ActionMenuItemView.

Functions

Link copied to clipboard
open fun adjustBadgeEndMargin(additionalMargin: Int)
Adjusts the end margin of the badge overlay.
Link copied to clipboard
@NonNull
open fun getInnerItemView(): @NonNull ActionMenuItemView
Returns the wrapped inner ActionMenuItemView.