colorForAttribute

Convenience method that resolves a given attribute resource into a color resource

Parameters

attr

the attribute to be resolved