RichUtils / pyxis.uzuki.live.richutilskt.utils / android.content.Context / dip2px

dip2px

fun Context.dip2px(value: Int): Int

convert dip to px

Parameters

value - to convert

Return
calculated dip

fun Context.dip2px(value: Float): Int

convert dip to px

Parameters

value - to convert

Return
calculated dip

Since
1.0.1