brouter
brouter copied to clipboard
Download view in portait
Is it possible that BInstallerActivity not declared as forced landscape in BRouter AndroidManifest.xml ?
It is a bit annoying to have to change orientation to download BRouter files. Doesn't the map work with portrait orientation like all other map apps?
If you do that without being prepared for the hard way of really doing responsive Design, then this will Just Produce Bug Reports..
The map view would work in portait but android recreates the view during after rotation and I'm not sure if we would recreate all required information.
We will see. It was just a user request that I didn't want to ignore
android recreates the view during after rotation
This can be avoided with:
<activity
android:name=".BInstallerActivity"
android:configChanges="keyboard|keyboardHidden|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode"
android:exported="true"
android:launchMode="singleTask" />
The map is rotated without destroying the activity, example AndroidManifest.xml.