Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Samsung bottom-most navigation bar obstructs view
This happens only on Samsung devices. The bottom navigation bar on Android 10 obstructs the field of view and covers part of an element within an Activity which was supposed to be located just above it. The activities width and height are set to match those of Screen. Have you experienced that? Solutions?
@Vega4 yes I have,
I believe the code in this example should return the correct safe area
tell me if it does not, because that would be a bug, and I'll have to investigate :D
@J-Hilk I'm on it! brb. By the way.. as you imagine it is great that you've got it covered and gave me a hand! Anyway, seems like one needs to go pretty far and add lots of code (also Java) to support the 'SafeArea' on Android? Any plans to integrate it further into the platform? Anything I could 'upvote'?
@Vega4 sure, I'm struggling with it on a regular basis x)
Nothing one can do really, mobile is, despite what QtC says somewhat neglected. IMHO more than other areas
you can upvote this ticket
it would make it so that the
QPlatformWindow::safeAreaMarginsalso works correctly on android, would simplify the required code enormously
that one I already got upvoted!:D will get back with result by tomorrow. Cheers.
@J-Hilk that seems to have put us on the right track! Many thanks. If you feel like getting some 'Oranges' get in touch;d [https://twitter.com/gridnetproject/status/1389222481874014209](link url)