fitsSystemWindows seems to act the other way around in Android, and correct in GrapheneOs

Hi Capacitor community,

I have

<item name="android:fitsSystemWindows">false</item>

set in my styles.xml in my Ionic/Angular project.

I have exactly the behaviour described in this stackoverflow thread:

  • When fitsSystemWindows is set to false, the Ionic Webview IS NOT behind the system bars
  • When fitsSystemWindows is set to true, the Ionic Webview IS behind the system bars

Question 1: Shouldn`t it be the other way around?

And one more question: One of my users is using GrapheneOs. In this system, my app is behind the system bars, which makes it unusable because the footer bar can`t be clicked.

Question 2: Does anybody have an idea why GrapheneOs acts differently, and how to fix it?

Thank you,

Johannes