CustomDpEntry

constructor(uiModeType: UiModeType? = null, dpQualifierEntry: DpQualifierEntry? = null, customValue: Dp, priority: Int)

Parameters

uiModeType

The UI mode (CAR, TELEVISION, WATCH, NORMAL). Null for any mode.

dpQualifierEntry

The Dp qualifier entry (type and value, e.g., SMALL_WIDTH 600). Null if only UI mode is used.

customValue

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).