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

dimen

fun Context.dimen(resource: Int): Int

get pixel size from DimenRes

Parameters

resource - dimen res to convert

Return
proper pixel size