API reference
API reference
Select your platform
No SDKs available
No versions available

PanelStyleOptions Class

Modifiers: open
Visual styling configuration for spatial panels, controlling the Android theme resource applied to the panel's View hierarchy. Implements PanelConfigOptionsModifier to apply the theme setting to PanelConfigOptions. Defaults to the SDK's transparent theme (SpatialSDKTransparentTheme) for seamless panel rendering.

Signature

open class PanelStyleOptions(val themeResourceId: Int = R.style.SpatialSDKTransparentTheme) : PanelConfigOptionsModifier

Constructors

PanelStyleOptions ( themeResourceId )
Signature
constructor(themeResourceId: Int = R.style.SpatialSDKTransparentTheme)
Parameters
themeResourceId: Int  Android theme resource ID applied to the panel's View. Controls text appearance, background, and widget styling. Defaults to SpatialSDKTransparentTheme.

Properties

themeResourceId : Int
[Get]
Android theme resource ID applied to the panel's View. Controls text appearance, background, and widget styling. Defaults to SpatialSDKTransparentTheme.
Signature
open val themeResourceId: Int

Methods

applyTo ( options )
Applies this style configuration to the target PanelConfigOptions, setting the Android theme resource ID used to style the panel's View hierarchy.
Signature
open override fun applyTo(options: PanelConfigOptions)
Parameters