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

toDrawable

inline fun Int.toDrawable(): ColorDrawable

Create a ColorDrawable from this color value.