Skip to content

Changing a status bar color#

This topic applies to LUNA ID for Android.

In LUNA ID, you can specify a status bar color. To do this, use the statusBarColorHex parameter:

LunaID.showCamera(
        activity,
        LunaID.ShowCameraParams(
            disableErrors = true,
            borderDistanceStrategy = InitBorderDistancesStrategy.Default,
            statusBarColorHex = Color.WHITE
        )
    )