themeAttrDrawable

fun Context.themeAttrDrawable(@AttrRes attributeDrawable: Int): Drawable?

Get a drawable from the attribute theme

Return

the drawable, if it exists in the theme context

Parameters

attributeDrawable

the attribute drawable, ex R.attr.selectableItemBackground