core-ktx / androidx.graphics.drawable / kotlin.Int

Extensions for kotlin.Int

toDrawable

fun Int.toDrawable(): ColorDrawable

Create a ColorDrawable from this color value.