appdimens-dynamic

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

semPw

fun Number.semPw(context: Context): Float

EN Extension for Int with dynamic scaling based on Smallest Width (swDP) (WITHOUT FONT SCALE), but in portrait orientation it acts as Screen Width (wDP). Usage example: 32.semPw(context).