appdimens-dynamic

//AppDimens SDP, HDP, WDP: Scalable Width and Height Dimensions/com.appdimens.dynamic.code.auto/asdpLh

asdpLh

fun Number.asdpLh(context: Context): Float

EN Extension for Int with dynamic scaling based on Smallest Width (swDP), but in landscape orientation it acts as Screen Height (hDP). Usage example: 32.sdpLh(context).