Public Sub setPanelBackgroundColor(Color As Int)
Update panel background color at runtime when this setting changes.
Original catalog note: Method to set the panel's background color
ELEVATEUI · B4A · XUI
Reveal contextual actions from a bottom-aligned panel.
Navigation & onboarding
Reveal contextual actions from a bottom-aligned panel.
Animated conceptual demonstration, not an exact Android control screenshot.
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.
Tutorials are based on existing project examples or audited APIs. Check each example’s prerequisites; B4A compilation is not claimed.
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.
16 audited signatures
Public Sub setPanelBackgroundColor(Color As Int)
Update panel background color at runtime when this setting changes.
Original catalog note: Method to set the panel's background color
Public Sub getPanelBackgroundColor As Int
Read the current panel background color value for validation or UI synchronization.
Original catalog note: Method to get the panel's background color
Returns: Int
Public Sub Initialize(Parrent As B4XView, Callback As Object, EventName As String)
Prepare the instance before its other methods.
Original catalog note: Initializes the object. You can add parameters to this method if needed.
Public Sub setCornerRadius(CornerRadius As Int)
Update corner radius at runtime when this setting changes.
Public Sub setSubtitleItemColor(Color As Int)
Update subtitle item color at runtime when this setting changes.
Original catalog note: Sets the subtitle color
Public Sub GetSubtitleColor As Int
Use GetSubtitleColor for its named operation; follow its exact signature.
Original catalog note: Gets the subtitle color
Returns: Int
Public Sub getPrincipalButton As UIButton
Read the current principal button value for validation or UI synchronization.
Original catalog note: Returns the primary button (UIButton) for external customization
Returns: UIButton
Sub Create_Titles(MainTitle As String, SubTitle As String, Btntext As String, btnColor As Int)
Use Create_Titles for its named operation; follow its exact signature.
Original catalog note: Creates the titles and primary button in the slide-up menu
Sub Create_Titles2(MainTitle As String, SubTitle As String)
Use Create_Titles2 for its named operation; follow its exact signature.
Original catalog note: Creates the titles in the slide-up menu
Public Sub getTitlePanel As B4XView
Read the current title panel value for validation or UI synchronization.
Original catalog note: get Title panel
Returns: B4XView
Public Sub Add_MenuItem(Title As String, Subtitle As String, value As Object, ButtonText As String)
Use Add_MenuItem for its named operation; follow its exact signature.
Original catalog note: Adds a new menu item to the container
Public Sub AddCustomPanel(Panel As B4XView)
Use AddCustomPanel for its named operation; follow its exact signature.
Public Sub Clear
Use Clear for its named operation; follow its exact signature.
Original catalog note: Clears all elements from the container and resets its size
Public Sub Size As Int
Use Size for its named operation; follow its exact signature.
Original catalog note: Returns the number of elements in the container
Returns: Int
Public Sub Close
Use Close for its named operation; follow its exact signature.
Public Sub Open
Use Open for its named operation; follow its exact signature.
No custom Designer properties were found in the audited API.
Initialize with Me and the event prefix Demo, then add the following handler to your B4A module. Names and arguments come from the library declaration.
Raised when the user taps the control; use it to trigger a real action.
B4A handler signature with Demo prefix
Private Sub Demo_SecundaryButton_Click(value As Object) ' Event for secondary button clicks
Log("SecundaryButton_Click")
End Sub
Raised when the user taps the control; use it to trigger a real action.
B4A handler signature with Demo prefix
Private Sub Demo_PrimaryButton_Click ' Event for primary button clicks()
Log("PrimaryButton_Click ' Event for primary button clicks")
End Sub
Event declared by this module. Handle the indicated action in the callback.
B4A handler signature with Demo prefix
Private Sub Demo_Open(OpenStatus as Boolean)
Log("Open")
End Sub
For code-created controls use Initialize(Me, "Demo") when that signature exists; for Designer controls set the event name there. Replace Demo with the actual prefix.