B4X Store

ELEVATEUI · B4A · XUI

UIIconFont

Material, Font Awesome, IcoMoon and Bootstrap icon fonts.

78 modules 1,780 APIs

Effects & interface utilities

What it solves

Material, Font Awesome, IcoMoon and Bootstrap icon fonts.

Animated conceptual demonstration, not an exact Android control screenshot.

7 methods0 Designer0 events

When to use this module

Use the effect after a meaningful interaction and ensure it does not replace an accessible state or confirmation.

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.

Icon using Font Awesome Solid
Existing documentation example control-guides.json Not B4A-compiled

Review required libraries, Designer views and input data before compiling in B4A.

Sub Globals
    Private IconFonts As UIIconFont
    Private IconLabel As Label
End Sub

Sub Activity_Create(FirstTime As Boolean)
    IconFonts.Initialize
    IconFonts.FontSize = 28
    IconLabel.Initialize("")
    IconLabel.Text = Chr(0xf121)
    IconLabel.TextColor = 0xFF8B5CF6
    Activity.AddView(IconLabel, 24dip, 32dip, 80dip, 48dip)
    Dim labelView As B4XView = IconLabel
    labelView.Font = IconFonts.IconFontAwesomeSolid
End Sub
Icons on a progress panel
Existing documentation example control-guides.json Not B4A-compiled

Review required libraries, Designer views and input data before compiling in B4A.

Dim fonts As UIIconFont
fonts.Initialize
Dim p As UIPanelProgressBar
p.Initialize(Me, "Progress")
p.AddToParent(Activity, 20dip, 130dip, 100%x - 40dip, 75dip)
p.setTitle("Programming")
p.setIcon(Chr(0xf121), fonts.IconFontAwesomeSolid)
p.setProgress(85)

Public methods reference

7 audited signatures

Public Sub Initialize

Prepare the instance before its other methods.

Original catalog note: Initialize the fonts with a default size

Public Sub getIconMaterialFont As B4XFont

Read the current icon material font value for validation or UI synchronization.

Original catalog note: Get the Material Icons font

Returns: B4XFont

Public Sub getIconFontAwesomeRegular As B4XFont

Read the current icon font awesome regular value for validation or UI synchronization.

Original catalog note: Get the FontAwesome Regular font

Returns: B4XFont

Public Sub getIconFontAwesomeSolid As B4XFont

Read the current icon font awesome solid value for validation or UI synchronization.

Original catalog note: Get the FontAwesome Solid font

Returns: B4XFont

Public Sub getIconMoonFont As B4XFont

Read the current icon moon font value for validation or UI synchronization.

Original catalog note: Get the IcoMoon font

Returns: B4XFont

Public Sub getBootstrapFont As B4XFont

Read the current bootstrap font value for validation or UI synchronization.

Original catalog note: Get the Bootstrap font

Returns: B4XFont

Public Sub setFontSize(Size As Double)

Update font size at runtime when this setting changes.

Original catalog note: Change the size of all fonts at once

Size As Double

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.