appdimens-dynamic

//AppDimens SDP, HDP, WDP: Scalable Width and Height Dimensions/com.appdimens.dynamic.code.fit/CustomSpEntry

CustomSpEntry

data class CustomSpEntry(val uiModeType: UiModeType? = null, val dpQualifierEntry: DpQualifierEntry? = null, val orientation: Orientation = Orientation.DEFAULT, val customValue: Number, val finalQualifierResolver: DpQualifier? = null, val priority: Int, val inverter: Inverter = Inverter.DEFAULT, val fontScale: Boolean = true)

EN Represents a custom Sp entry with qualifiers and priority, for the non-Compose Sp builder.

PT Representa uma entrada de Sp customizada com qualificadores e prioridade, para o builder Sp fora do Compose.

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

The Dp qualifier entry (type and value). Null if only UI mode is used.

The screen orientation (LANDSCAPE, PORTRAIT, DEFAULT).

The base Int Sp value to be used if the condition is met.

Optional override for the scaling qualifier at resolution time.

The resolution priority. 1 is most specific (UI + Qualifier), 4 is least specific.

The inverter type to adapt scaling on rotation changes.

Whether to respect the system font scale (default true).

constructor(uiModeType: UiModeType? = null, dpQualifierEntry: DpQualifierEntry? = null, orientation: Orientation = Orientation.DEFAULT, customValue: Number, finalQualifierResolver: DpQualifier? = null, priority: Int, inverter: Inverter = Inverter.DEFAULT, fontScale: Boolean = true)

val customValue: Number

val dpQualifierEntry: DpQualifierEntry?

val finalQualifierResolver: DpQualifier?

val fontScale: Boolean

val inverter: Inverter

val orientation: Orientation

val priority: Int

val uiModeType: UiModeType?

Constructors

Name Summary
CustomSpEntry  

Properties

Name Summary
customValue  
dpQualifierEntry  
finalQualifierResolver  
fontScale  
inverter  
orientation  
priority  
uiModeType