Custom Dp Entry
data class CustomDpEntry(val uiModeType: UiModeType? = null, val dpQualifierEntry: DpQualifierEntry? = null, val customValue: Dp, val priority: Int)
EN Represents a custom dimension entry with qualifiers and priority. Used by the Scaled class to define specific values for screen conditions.
PT Representa uma entrada de dimensão customizada com qualificadores e prioridade. Usada pela classe Scaled para definir valores específicos para condições de tela.
Parameters
ui Mode Type
The UI mode (CAR, TELEVISION, WATCH, NORMAL). Null for any mode.
dp Qualifier Entry
The Dp qualifier entry (type and value, e.g., SMALL_WIDTH 600). Null if only UI mode is used.
custom Value
The Dp value to be used if the condition is met.
priority
The resolution priority. 1 is more specific (UI + Qualifier), 3 is less specific (Qualifier only).