setIconGravity

sets the icon gravity of the popup using the resource.