resourceIdForAttribute
Convenience method that resolves a given attribute resource into a resource id
Parameters
attr
the attribute to be resolved
Convenience method that resolves a given attribute resource into a resource id
the attribute to be resolved