Title and status bar layout broken when targeting Android SDK 36
Opened this issue · 2 comments
InsaneSharpness commented
Describe the bug
Toga app built using using Beeware - targetting Android 36 (or 35) and running on devices with Android v16
- The main window's contents are overalapped by the app title bar
- The app's header theme (top edge) has also lost its colours.
Steps to reproduce
- Change the project's
pyproject.toml, add/update the android section to havetarget_os_version = "36" - Install Android v16 on device (or android simulation AVD with SDK = 36)
- Re-generate project/build app and deploy on Android device/simulator
- Launch App & see examples below.
Screenshots
Environment
- Operating System: Windows 11
- Python version: 3.12.7
- Software versions:
- Briefcase: 0.3.24
- Toga: 0.5.2
- Also happens with previous versions of Briefcase/Toga. So related to SDK version
dmrazzy commented
Working slow
mhsmith commented
This is what Android calls "edge to edge" layout. You can opt out of it when targeting API level 35, which I've done in beeware/briefcase-android-gradle-template#104. But we'll need to handle it properly before apps are required to target API level 36 next year. So let's leave this issue open.