dpToPx

open fun dpToPx(dp: Float): Float

Returns the number of pixels corresponding to dp density-independent pixels.