kiwix / kiwix-xulrunner

[ARCHIVED] Legacy Kiwix desktop solution for Windows/macOS/Linux
https://download.kiwix.org/release/kiwix-xulrunner/
GNU General Public License v3.0
112 stars 28 forks source link

Invisible/transparent menu on Android #352

Closed kelson42 closed 8 years ago

kelson42 commented 8 years ago

On a few devices we have a problem. We have already a pretty long thread: https://sourceforge.net/p/kiwix/bugs/930/?limit=25

kelson42 commented 8 years ago

@mhutti1 A though?

mhutti1 commented 8 years ago

@kelson42 I can attempt a fix but I don't have a device with the physical menu button and I don't think you can emulate it. Do you?

kelson42 commented 8 years ago

@mhutti1 I can not reproduce the problem but we have a trusted user, would be great if you could put the APK to test somewhere online so we have him able to test it.

kelson42 commented 8 years ago

@mhutti1 Good news, I can reproduce the problem on BitBar with a "Sony Xperia A Dogo Maki SO-04E"

julianharty commented 8 years ago

@kelson42 @mhutti1 FYI I've found at least one of my old collection of Android phones that has a sufficiently recent release of Android (4.0.4) and physical buttons, including the menu. I downloaded and installed both kiwix and the PHeT Simulations custom app and confirm I can reproduce the problem where the menu displayed by the app is virtually invisible when initiated by the physical menu key. It seems to be white(ish) text with a transparent background. It also appears at the bottom left; while the menu from the ... dropdown appears at the top right with black text on a white (solid) background.

When the app is in night-mode the main background colour is black. The menu operated menu is somewhat easier to read - still white text on a transparent background, the drop-down menu is still black text on a white (solid) background.

Any reason why we can't set the background of the menu that appears for the menu button? Also can you send me an apk to test with and I can do some testing directly for/with you.

mhutti1 commented 8 years ago

@julianharty That is ideally the solution. Once we have it working on the emulator I will send you an apk to test.

mhutti1 commented 8 years ago

I can use @color/primary_light to bring up a background but the text is white on white so we need to probably change its colour in code.