Skip to content

AndroidManifest.xml.tmpl should set screenLayout & smallScreenSize #1422

@ghost

Description

Versions

  • Python: all versions should be affected
  • OS: all Android versions with split screen affected
  • Kivy: all versions should be affected
  • Cython: not relevant

Description

AndroidManifest.xml.tmpl should set configChanges to include "screenLayout" when minimum API level >= 4, and "smallScreenSize" (when minimum API level >= 13. Right now only screenSize is set, and as a result, all kivy & p4a apps appear to crash when attempting to use them in side by side / split screen mode (because the SDLActivity is shut down). Of course, some kivy apps might still break in the split screen mode simply by not having a suitable layout, but at least they won't instant crash/terminate in all cases.

Note: it seems either the p4a wrapper or the SDLActivity have some bug so the app won't properly resize the SDL window in split screen mode. However, again, as written above - this is still preferable to the app just shutting down/crashing, so I still think this should be changed even if this isn't fully investigated yet.

buildozer.spec

not applicable

Logs

not applicable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions