CustomSpEntry

data class CustomSpEntry(val uiModeType: UiModeType? = null, val dpQualifierEntry: DpQualifierEntry? = null, val customValue: TextUnit, val priority: Int)

EN Represents a custom text dimension (Sp) configuration entry. Used to define specific text (Sp) values based on the UI mode (e.g., car, TV), DP qualifier (e.g., smallest width), and priority.

PT Representa uma entrada de configuração de dimensão de texto (Sp) personalizada. Usada para definir valores de texto (Sp) específicos com base no modo de UI (ex: carro, TV), no qualificador de DP (ex: largura mínima) e na prioridade.

Constructors

Link copied to clipboard
constructor(uiModeType: UiModeType? = null, dpQualifierEntry: DpQualifierEntry? = null, customValue: TextUnit, priority: Int)

Properties

Link copied to clipboard

The TextUnit (Sp) value to be used.

Link copied to clipboard
val dpQualifierEntry: DpQualifierEntry? = null

The DP qualifier entry (type and minimum value) (optional).

Link copied to clipboard

The application priority of this rule. Lower priorities are evaluated first.

Link copied to clipboard
val uiModeType: UiModeType? = null

The UI mode to which this entry applies (optional).