TomTomAndroidTools
androidJvm
api_resourceresolution
/
com.tomtom.tools.android.api.resourceresolution
/
getDrawableByAttr
get
Drawable
By
Attr
fun
Context
.
getDrawableByAttr
(
@
AttrRes
attrRes
:
Int
)
:
Drawable
Returns a drawable that the given
attrRes
refers to.
Throws
Illegal
Argument
Exception
if the given attribute cannot be found.