Android get hashmap resource from xml.