App Dimens Dynamic
EN A builder class for creating dynamic dimensions that allow base Dp customization via screen qualifiers (.screen()). The final value is scaled by the screen size.
PT Uma classe construtora para criar dimensões dinâmicas que permitem a customização do Dp base por meio de qualificadores de tela (.screen()). O valor final é escalado pelo tamanho da tela.
Properties
EN Builds the adjusted Dp from the calculation.
EN Builds the adjusted TextUnit (Sp) from the calculation (NO FONT SCALE).
EN Builds the adjusted Pixel value (Float) from the calculation.
EN Builds the adjusted TextUnit (Sp) from the calculation.
Functions
EN Ignores multi-view adjustment if set to true.
EN Sets a custom dimension for a specific UI mode.
EN Overload for screen that accepts a TextUnit value.
EN Overload for screen that accepts a Float value.
EN Overload for screen that accepts an Int value.
EN Overload for screen that accepts a TextUnit value for a DpQualifier.
EN Overload for screen that accepts a Float value for a DpQualifier.
EN Sets a custom dimension for a specific screen qualifier.
EN Sets a custom dimension for a specific intersection of UI mode and screen qualifier.
EN Overload for screen intersection that accepts a TextUnit value.
EN Overload for screen intersection that accepts a Float value.
EN Overload for screen intersection that accepts an Int value.
EN Sets the screen dimension type to be used as a reference (HIGHEST or LOWEST).