Jetpack compõe string para dp

fun String.toDp(): Dp {
    return Dp(this.toFloat())
}
Tender Turtle