Nearby Swap screen does not follow configured theme and device's orientation
As I mostly configured F-Droid to use Night theme, I noticed for some time now that F-Droid's "Nearby Swap" screen does not follow the configured theme correctly (it displayed in default bluish black-on-white color scheme instead). Another testing on tablet-like device (PC) also shows that the Nearby Swap screen does not honor device's current orientation (and forces display into portrait mode).
Exact steps to reproduce:
- Download and install F-Droid client 0.102.3 from https://f-droid.org/repository/browse/?fdid=org.fdroid.fdroid
- Disconnect from all networks.
- Tilt device into landscape mode (if applicable).
- Start F-Droid Client.
- Go to Menu > Settings.
- Scroll down to Display section.
- Change Theme to Night.
- You would see that the color scheme doesn't change yet.1
- Press back button.
- You would see that the color scheme now changes to greenish white-on-black.
- Select "SWAP APPS" on the action bar.
- Nearby Swap screen would appear, but you would see that:
- It uses bluish black-on-white "Light" color scheme (instead of the configured greenish white-on-black "Night" scheme).
- It forces the screen to go into portrait mode (instead of staying in landscape mode, which the device is operating in).2
Footnotes:
- 1 I'm not sure if this is intended, or considered a bug.
- 2 The screen orientation problem pretty much rendered Nearby Swap screen unusable on landscape tabletop tablet/laptop/PC-based device with mouse-based pointer.
F-Droid Client: 0.102.3 (binary APK from f-droid.org)
Android distribution: Android-x86 4.4 r5 32-bit
Virtual machine: VirtualBox 4.3.18-dfsg-2~bpo70+1 (debian)
Host system: Debian GNU/Linux 7.0 Wheezy i386
P.S. If I remembered correctly, the color scheme problem also affects older F-Droid Client 0.100 and 0.101 (tested on Xiaomi Redmi Note, ARM, Android 4.1), but I haven't tested the orientation problem back then.