getThemeDrawable

fun getThemeDrawable(name: String, type: String = this::class.simpleName ?: ""): Drawable

Return

a Drawable from the first matching Theme in the tree that has a Drawable with the specified name and type. If type is omitted the class name of the current control is used as the type.