B4X Store

ELEVATEUI · B4A · XUI

UIFloatingMenu

Expose contextual actions from a floating menu near the workflow.

78 modules 1,780 APIs

Navigation & onboarding

What it solves

Expose contextual actions from a floating menu near the workflow.

Animated conceptual demonstration, not an exact Android control screenshot.

28 methods0 Designer0 events

When to use this module

In a multi-screen application, connect every menu action to a real destination and preserve the active selection.

Before integrating, examine its methods, events and Designer options.

B4A integration examples

Tutorials are based on existing project examples or audited APIs. Check each example’s prerequisites; B4A compilation is not claimed.

Practical tutorial awaiting verification

The public API, events and properties remain available. An isolated initialization is not presented as a full example; a tutorial will be added after a functional sequence is documented.

Public methods reference

28 audited signatures

Public Sub Initialize(callback As Object,parrent As Activity,Left As Float, Top As Float, Width As Float, Height As Float)

Prepare the instance before its other methods.

callback As Objectparrent As ActivityLeft As FloatTop As FloatWidth As FloatHeight As Float
Public Sub AddSubMenu(EventName As String, IconText As String, FontIcon As B4XFont, ColorIcon As Int, MainText As String, MainTextFont As B4XFont, ColorText As Int, SubMenu As UIFloatingMenu)

Use AddSubMenu for its named operation; follow its exact signature.

Original catalog note: Adds a nested menu item. Initialize SubMenu with the same callback and Activity first.

EventName As StringIconText As StringFontIcon As B4XFontColorIcon As IntMainText As StringMainTextFont As B4XFontColorText As IntSubMenu As UIFloatingMenu
Public Sub AddSubMenu2(EventName As String, DirIcon As String, FileIcon As String, MainText As String, MainTextFont As B4XFont, ColorText As Int, SubMenu As UIFloatingMenu)

Use AddSubMenu2 for its named operation; follow its exact signature.

Original catalog note: Adds a nested menu item with an image icon.

EventName As StringDirIcon As StringFileIcon As StringMainText As StringMainTextFont As B4XFontColorText As IntSubMenu As UIFloatingMenu
Public Sub Elevation(PanelElevation As Float,color As Int)

Use Elevation for its named operation; follow its exact signature.

PanelElevation As Floatcolor As Int
Public Sub Base As CustomListView

Use Base for its named operation; follow its exact signature.

Returns: CustomListView

Public Sub AddMenuItem(EventName As String,IconText As String, FontIcon As B4XFont, ColorIcon As Int, MainText As String, MainTextFont As B4XFont, ColorText As Int)

Use AddMenuItem for its named operation; follow its exact signature.

Original catalog note: <code>Private sub EventName_OptionMenuClicked</code>

EventName As StringIconText As StringFontIcon As B4XFontColorIcon As IntMainText As StringMainTextFont As B4XFontColorText As Int
Public Sub AddMenuItem2(EventName As String, DirIcon As String, FileIcon As String, MainText As String, MainTextFont As B4XFont,ColorText As Int)

Use AddMenuItem2 for its named operation; follow its exact signature.

Original catalog note: <code>Private sub EventName_OptionMenuClicked</code>

EventName As StringDirIcon As StringFileIcon As StringMainText As StringMainTextFont As B4XFontColorText As Int
Public Sub AddMenuItemWithValue(EventName As String, IconText As String, FontIcon As B4XFont, ColorIcon As Int, MainText As String, MainTextFont As B4XFont, ColorText As Int, Value As Object)

Use AddMenuItemWithValue for its named operation; follow its exact signature.

Original catalog note: <code>Private sub EventName_OptionMenuClicked2(value as string)</code>

EventName As StringIconText As StringFontIcon As B4XFontColorIcon As IntMainText As StringMainTextFont As B4XFontColorText As IntValue As Object
Public Sub AddMenuItem2WithValue(EventName As String, DirIcon As String, FileIcon As String, MainText As String, MainTextFont As B4XFont, ColorText As Int, Value As Object)

Use AddMenuItem2WithValue for its named operation; follow its exact signature.

Original catalog note: <code>Private sub EventName_OptionMenuClicked2(value as string)</code>

EventName As StringDirIcon As StringFileIcon As StringMainText As StringMainTextFont As B4XFontColorText As IntValue As Object
public Sub addpanel(pane As B4XView, showCloseIcon As Boolean)

Public API declaration; refer to the library behavior for usage details.

Original catalog note: Verified against supplied 2026-11-28 .b4xlib

pane As B4XViewshowCloseIcon As Boolean
Public Sub Reload(index As Int, pane As B4XView,showCloseIcon As Boolean)

Use Reload for its named operation; follow its exact signature.

index As Intpane As B4XViewshowCloseIcon As Boolean
Public Sub panel As B4XView

Use panel for its named operation; follow its exact signature.

Returns: B4XView

Public Sub AddSeparator(color As Int)

Use AddSeparator for its named operation; follow its exact signature.

color As Int
Public Sub AddTitleMenu(MainText As String,color As Int)

Use AddTitleMenu for its named operation; follow its exact signature.

MainText As Stringcolor As Int
Public Sub ShowMenu(PanelColor As Int,ShadowColor As Int)

Use ShowMenu for its named operation; follow its exact signature.

PanelColor As IntShadowColor As Int
Public Sub CloseMenu

Use CloseMenu for its named operation; follow its exact signature.

Public Sub SetPosition(Left As Float, Top As Float)

Use SetPosition for its named operation; follow its exact signature.

Original catalog note: Positions this menu at the requested coordinates before ShowMenu is called.

Left As FloatTop As Float
Public Sub getWidth As Float

Read the current width value for validation or UI synchronization.

Returns: Float

Public Sub getHeight As Float

Read the current height value for validation or UI synchronization.

Returns: Float

Public Sub setOpenOrientation_None

Update open orientation none at runtime when this setting changes.

Original catalog note: Opens the panel without slide, but with fade

Public Sub setOpen_LeftBottom

Update open left bottom at runtime when this setting changes.

Original catalog note: Opens the panel from left to bottom

Public Sub setOpen_RightBottom

Update open right bottom at runtime when this setting changes.

Original catalog note: Opens the panel from right to bottom

Public Sub setOpen_LeftTop

Update open left top at runtime when this setting changes.

Original catalog note: Opens the panel from left to top

Public Sub setOpen_RightTop

Update open right top at runtime when this setting changes.

Original catalog note: Opens the panel from right to top

Public Sub setOpen_LeftRight

Update open left right at runtime when this setting changes.

Original catalog note: Opens the panel from left to right

Public Sub setOpen_RightLeft

Update open right left at runtime when this setting changes.

Original catalog note: Opens the panel from right to left

Public Sub setOpen_TopBottom

Update open top bottom at runtime when this setting changes.

Original catalog note: Opens the panel from top to bottom

Public Sub setOpen_BottomTop

Update open bottom top at runtime when this setting changes.

Original catalog note: Opens the panel from bottom to top

Designer · 0

No custom Designer properties were found in the audited API.

Public events and how to implement them · 0

No public callback events are declared in the catalog. You can still handle B4A events for controls inserted inside it.

Source: ElevateUI public API catalog; tutorials cross-checked against ElevateUI(6).b4xlib. Visualizations are illustrative; sample code requires B4A compilation.