WithStyleResource

An IviThemeComponent with only one styleResourceId.

Use IviThemeComponent.WithStylingFlavorType or IviThemeComponent.WithoutStylingFlavorType to allow more than one Android style to be applied when this IviThemeComponent is selected for its IviThemeCategory.

Parameters

id

The unique identifier of this IviThemeComponent. The following naming convention is applicable: <company>.<product>.themecomponent.<category>.<id>. For example: com.tomtom.ivi.themecomponent.color.dark

themeCategory

The IviThemeCategory this component belongs to.

styleResourceId

The resource ID of the IviThemeComponent's style.

label

The label of the theme component.

Properties

Link copied to clipboard
open override val id: String
Link copied to clipboard
open override val label: StringResolver
Link copied to clipboard
Link copied to clipboard
open override val themeCategory: IviThemeCategory

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)