resourceIdForAttribute

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

Parameters

attr

the attribute to be resolved