screen

fun screen(uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Int, customValue: TextUnit): Scaled

EN Priority 1 rule: Combination of UI Mode and DP Qualifier. Applicable if the UI mode matches AND the screen is greater than or equal to the qualifierValue.

PT Regra de prioridade 1: Combinação de Modo de UI e Qualificador de DP. Aplicável se o modo de UI corresponder E a tela for maior ou igual ao qualifierValue.


fun screen(uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Int, customValue: Int): Scaled
fun screen(type: UiModeType, customValue: Int): Scaled
fun screen(type: DpQualifier, value: Int, customValue: Int): Scaled

EN Overload for screen that accepts an Int as customValue.

PT Sobrecarga de screen que aceita um Int como customValue.


fun screen(type: UiModeType, customValue: TextUnit): Scaled

EN Priority 2 rule: UI Mode only. Applicable if the UI mode matches.

PT Regra de prioridade 2: Apenas Modo de UI. Aplicável se o modo de UI corresponder.


fun screen(type: DpQualifier, value: Int, customValue: TextUnit): Scaled

EN Priority 3 rule: DP Qualifier only. Applicable if the screen is greater than or equal to the qualifier value.

PT Regra de prioridade 3: Apenas Qualificador de DP. Aplicável se a tela for maior ou igual ao value do qualificador.