Public Sub Initialize
Prepare the instance before its other methods.
Original catalog note: Initializes the object.
ELEVATEUI · B4A · XUI
Apply glass-like translucent styling to a view without changing its business logic.
Effects & interface utilities
Apply glass-like translucent styling to a view without changing its business logic.
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.
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.
33 audited signatures
Public Sub Initialize
Prepare the instance before its other methods.
Original catalog note: Initializes the object.
Public Sub Clear
Use Clear for its named operation; follow its exact signature.
Original catalog note: Clears the cached blur and shadow bitmaps to force a full redraw.
Public Sub SetGlassProprety(view As B4XView, BorderCorner As Int)
Use SetGlassProprety for its named operation; follow its exact signature.
Original catalog note: Applies a customized Frosted Glassmorphism effect to the target view container. <code> Dim glass As UIGlassEffect glass.Initialize glass.SetGlassProprety(pnlCard, 20dip) </code>
Public Sub SetGlassProperty(view As B4XView, BorderCorner As Int)
Use SetGlassProperty for its named operation; follow its exact signature.
Original catalog note: Alias con el nombre corregido para evitar confusiones de tipeo futuras. <code> glass.SetGlassProperty(pnlCard, 20dip) </code>
Public Sub SetGlassPropertyWithScrollView(view As B4XView, BorderCorner As Int)
Use SetGlassPropertyWithScrollView for its named operation; follow its exact signature.
Original catalog note: Applies the glass effect inside a ScrollView (or any deep-nested container). <code> glass.SetGlassPropertyWithScrollView(pnlCard, 20dip) </code>
Public Sub SetGlassPropertyExplicit(view As B4XView, TargetRoot As B4XView, BorderCorner As Int)
Use SetGlassPropertyExplicit for its named operation; follow its exact signature.
Original catalog note: Applies glass using an explicit root (for complex hierarchies without ScrollView). <code> glass.SetGlassPropertyExplicit(pnlCard, RootPanel, 20dip) </code>
Public Sub Refresh(BorderCorner As Int)
Use Refresh for its named operation; follow its exact signature.
Original catalog note: Forces a full redraw of the glass effect by invalidating the cached snapshot. <code> glass.Refresh(20dip) </code>
Public Sub SetPreset(PresetName As String)
Use SetPreset for its named operation; follow its exact signature.
Original catalog note: Applies a named visual preset. <code> glass.SetPreset("frost") </code>
Public Sub setShowHighlight(Value As Boolean)
Update show highlight at runtime when this setting changes.
Public Sub getShowHighlight As Boolean
Read the current show highlight value for validation or UI synchronization.
Returns: Boolean
Public Sub setHighlightColor(Value As Int)
Update highlight color at runtime when this setting changes.
Public Sub getHighlightColor As Int
Read the current highlight color value for validation or UI synchronization.
Returns: Int
Public Sub setHighlightHeight(Value As Int)
Update highlight height at runtime when this setting changes.
Public Sub setBorderColor(Value As Int)
Update border color at runtime when this setting changes.
Original catalog note: === Setters & Getters ===
Public Sub getBorderColor As Int
Read the current border color value for validation or UI synchronization.
Returns: Int
Public Sub setBorderWidth(Value As Int)
Update border width at runtime when this setting changes.
Public Sub getBorderWidth As Int
Read the current border width value for validation or UI synchronization.
Returns: Int
Public Sub setBorderSize(Value As Int)
Update border size at runtime when this setting changes.
Public Sub getBorderSize As Int
Read the current border size value for validation or UI synchronization.
Returns: Int
Public Sub setBorderGlowSize(Value As Int)
Update border glow size at runtime when this setting changes.
Public Sub getBorderGlowSize As Int
Read the current border glow size value for validation or UI synchronization.
Returns: Int
Public Sub setTintColor(Value As Int)
Update tint color at runtime when this setting changes.
Public Sub getTintColor As Int
Read the current tint color value for validation or UI synchronization.
Returns: Int
Public Sub setTintAlpha(Value As Int)
Update tint alpha at runtime when this setting changes.
Public Sub getTintAlpha As Int
Read the current tint alpha value for validation or UI synchronization.
Returns: Int
Public Sub setBlurIntensity(Value As Int)
Update blur intensity at runtime when this setting changes.
Public Sub getBlurIntensity As Int
Read the current blur intensity value for validation or UI synchronization.
Returns: Int
Public Sub setReduceScale(Value As Int)
Update reduce scale at runtime when this setting changes.
Public Sub getReduceScale As Int
Read the current reduce scale value for validation or UI synchronization.
Returns: Int
Public Sub setShadowElevation(Value As Float)
Update shadow elevation at runtime when this setting changes.
Public Sub getShadowElevation As Float
Read the current shadow elevation value for validation or UI synchronization.
Returns: Float
Public Sub setShadowColor(Value As Int)
Update shadow color at runtime when this setting changes.
Public Sub getShadowColor As Int
Read the current shadow color value for validation or UI synchronization.
Returns: Int
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.
Public Const GlASSEFECT_LIGHT As String = "light"Public Const GlASSEFECT_DARK As String = "dark"Public Const GlASSEFECT_NEON As String = "neon"Public Const GlASSEFECT_FROST As String = "frost"