appdimens-dynamic

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

CustomSpEntry

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)

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