Earnes-Tg
Earnes-Tg
Under the hood, Solar2d uses DisplayCutouts Android class to compute safe area, this class is merely about notches in display, thats why it works correctly for top camera notch but...
As I said, instead of this work around, the official way ( According to Google engineer ) is using this: ``` Insets insets = WindowInsets.getInsets(Type.navigationBars ()) return insets.bottom ``` it...
Thanks Vlad, True `getInsets(Type.navigationBars ())`is from API 30, from API 20 to 30 it's `getSystemWindowInsetBottom()` Also regarding "touch one everything crumbles", that's why I suggested maybe adding a new API...
I know we have this API `display.getSafeAreaInsets()`, but it relies on a native android API that counts for physical notches only and not software bars. Of course the best solution...
@Shchvova , sure ``` 02-05 10:52:05.775 27273 13481 I Corona : -0 -0 400 888 02-05 10:52:05.795 27273 13481 I Corona : 0 25 400 863 02-05 10:52:05.798 27273 13481...
1) Yeah no problem, let's arrange that, Monday ? 2) I looked at the code thanks. seem the one without stable insets to be the way to go but still...
I created a demo **Android App** to make sure I understood how Android handles this. I've managed to get it report bottom inset correctly.    Here's what I...
Using the version Vlad sent me, I've got this in Solar2d, It meets my requirements. https://user-images.githubusercontent.com/4797458/108200723-88ef9d00-7127-11eb-8022-852029f646b3.mp4 You can see it works for: - soft keys mode - gesture mode -...
The changes weren't accepted by Vlad. I've researched this at the time and provided my insight. it worked for soft keys and gesture mode and immersive mode where bottom inset...