No title bar space in free form window causing overlapping elements
Device
App version: 0.16.4.3-7798 (standard, 1f3be7b52, 125, 2024-07-16T15:47:48Z) Android version: 14 (SDK 34; build OPD2203_14.0.0.610(EX01)) Android build ID: OPD2203_14.0.0.610(EX01) Device brand: OnePlus Device manufacturer: OnePlus Device name: OP59BCL1 (OPD2203) Device model: OPD2203
The app has no title bar in freeform windows, causing overlapping elements with the system title bar.
Difficulties experienced due to this issue:
- Navigation becomes challenging as the system title bar overlaps with app content.
- Inability to access some UI elements and buttons properly. This issue needs to be fixed promptly to enhance usability and functionality.
For example, this is what the title bar looks like normally ( Aniyomi, Anivu, GitHub, etc., have a title bar in freeform windows ):
I think this article from android developers blog maybe useful in solving the problem
With desktop windowing, input methods beyond touch and insets handling become even more important for a seamless user experience.
- Insets handling: All apps when running in desktop windowing have a header bar, even in immersive mode. Ensure your app's content isn't obscured by this. The new header bar is reported as a caption bar in Compose (androidx.compose.foundation:foundation-layout.WindowInsets.Companion.captionBar) and in Views (android.view.WindowInsets.Type.CAPTION_BAR), which is part of the system bars. API 35 also introduced a new appearance type, to make the header bar transparent, to allow apps to draw custom content inside.
Android System UI overlaps app bar on desktop target This bug comes from the safearea widget of the flutter framework. I will upgrade flutter version as soon as the bug is officially fixed. As a temporary fix, I will provide the option to adjust the height of the status bar in the next preview.
I think this article from android developers blog maybe useful in solving the problem
It's nice to see android support for custom window title bar, I'll look into porting the desktop title bar to mobile in a future release
I'll be waiting for the next preview version, the app looks fantastic, even though haven't been able to use the android app since the English translation is yet to come out but the preview images look great .
Thanks for the hard work , love what u guys are doing ❤️