support different screen sizes for get location view