Gateway selector
Navigation Drawer, Bridges disabled, auto-select enabled: entry shows "location with best connection"
Tap on "Select location" opens a new Fragment, showing the auto-selection switch and a hint.
Disabling the auto-selection switch reveals the list of available Gateways supporting the current transport (in this case openvpn). The list is sorted by the distance to the user using the geoip service v1 or v2 ("menshen") if available or timezone calculation if not. Gateways at the top of the list are likely to be faster as those at the bottom. If the provider supports the menshen geoip/load-balancing service, indicators would be shown.
The user can now select a gateway:
Tapping on "Connect" will guide the user to the main view, showing the connection state. The user cannot start a vpn connection by tapping directly on a list item, because we don't want to handle multiple connection attempts at the same time (the user could rapidly tap on multiple cities, vpn connection attempts would have to be shutdown immediately, so that always only one connection attempt is made... that's a call for trouble). For the same reason the user is guided to the main view, after a connection attempt has been initiated.
if a location has been selected, the preferred location is shown in the navigation drawer:
For now the list of gateways is filtered by the supported transport. You can switch the lists by enabling/disabling Bridges in the navigation drawer. This (amongst other things) needs further refinement. With Bridges enabled: