Public Sub Initialize
Prepare the instance before its other methods.
Original catalog note: Initialize the fonts with a default size
ELEVATEUI · B4A · XUI
Material, Font Awesome, IcoMoon and Bootstrap icon fonts.
Effects & interface utilities
Material, Font Awesome, IcoMoon and Bootstrap icon fonts.
Animated conceptual demonstration, not an exact Android control screenshot.
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.
Tutorials are based on existing project examples or audited APIs. Check each example’s prerequisites; B4A compilation is not claimed.
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
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)
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
No custom Designer properties were found in the audited API.
No public callback events are declared in the catalog. You can still handle B4A events for controls inserted inside it.