Getting screen dimensions in high level activity.