hei
April 11, 2026 ยท View on GitHub
//AppDimens SDP, HDP, WDP: Scalable Width and Height Dimensions/com.appdimens.dynamic.code.fit/hei
hei
fun Number.hei(context: Context): Float
EN Extension for Int with dynamic scaling based on the Screen Height (hDP) (WITHOUT FONT SCALE). Usage example: 32.hei(context).