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