Package-level declarations

Types

Link copied to clipboard
object AppDimens

EN A singleton object that provides functions for responsive dimension management, acting as a gateway to the AppDimensFixed and AppDimensDynamic constructors.

Link copied to clipboard

EN A singleton object that provides functions for calculating and resolving adjustment factors and screen qualifiers. Compatible with the traditional Android View System (XML).

Link copied to clipboard
class AppDimensDynamic(initialBaseDp: Float, ignoreMultiViewAdjustment: Boolean = false)

EN Class for building dynamic dimensions that allow base Dp customization via screen qualifiers (.screen()). The final value is scaled by the screen. Compatible with the View System (XML layouts).

Link copied to clipboard
class AppDimensFixed(initialBaseDp: Float, ignoreMultiViewAdjustment: Boolean = false)

EN Class for building "fixed" dimensions that are automatically adjusted based on the device's smallestScreenWidthDp and screen aspect ratio. Compatible with the View System (XML).

Link copied to clipboard

EN A singleton object that provides functions for physical unit conversions (MM, CM, Inch) and measurement utilities.

Link copied to clipboard
data class ScreenAdjustmentFactors(val withArFactorLowest: Float, val withArFactorHighest: Float, val withoutArFactor: Float, val adjustmentFactorLowest: Float, val adjustmentFactorHighest: Float)

EN Data class to store screen adjustment factors. PT Data class para armazenar os fatores de ajuste de tela.