appdimens-dynamic

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

pwdp

fun Number.pwdp(context: Context): Float

EN Extension for Int with dynamic scaling based on the Screen Width (wDP). Usage example: 100.wdp(context).