App Dimens Fixed
EN A builder class for creating "fixed" dimensions that are automatically adjusted based on the device's smallestScreenWidthDp and screen aspect ratio.
PT Uma classe construtora para criar dimensões "fixas" que são ajustadas automaticamente com base no smallestScreenWidthDp do dispositivo e na proporção 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 Enables or disables aspect ratio adjustment and sets a custom sensitivity.
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 Sets a custom dimension for a specific screen qualifier.
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 Overload for screen that accepts an Int value for a DpQualifier.
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).