Android Theme Customization
The Activation SDK exposes a single styling hook — Activation.theme — that drives every visual aspect of every SDK screen: brand palette, type scale, corner-radius unit, and every customisable icon. Set it once during app startup (or anytime later) and updates propagate live to every SDK screen currently composed:
Activation.theme = ActivationTheme(
colors = ActivationTheme.Colors(primary = 0xFF7C3AED),
icons = ActivationTheme.Icons(
scanIcon = ActivationIcon.Bytes(myScanIconBytes),
),
)
You don't need to import Compose or wrap anything — the SDK handles composition and dark/light resolution internally.
Quick Start
Minimal customization — set your brand color and every primary button, FAB, link, and accent surface across the SDK updates:
// Application.onCreate (or any time afterwards)
Activation.theme = ActivationTheme(
colors = ActivationTheme.Colors(
primary = 0xFF7C3AED, // brand purple
textAccent = 0xFF6D28D9, // links / highlights
surfaceAccent = 0xFFF3E8FF, // soft tinted panels
),
)