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