convertPxToDp

fun convertPxToDp(px: Int, displayDensity: Float): Int

Convert from a raw pixel dimension to a density-independent (dip) dimension