Skip to content

Android 16/17 large screen ignore constraints #100715

Description

@GCyganek

As in https://developer.android.com/about/versions/17/behavior-changes-17#large-screen-ignore-constraints , there were changes in Platform API in Android 16 to ignore orientation, aspect ratio, and resizability restrictions on large screens (sw >= 600dp) for apps targeting API level 36 or higher.

Based on this I did some research and found a few things worth changing:

  1. we set android:resizeableActivity="false"  in the NewDot AndroidManifest which is basically dead because we do not have it in HybridApp AndroidManifest -> users can use our app with split screen so we can remove this flag, as true is the default and is forced on larger screens (where smallest screen width >=600dp)
  2. we recreate the main activity every time user drags the handle in the split screen mode which makes the OldDot lose state, we should fix it by adding smallestScreenSize to android:configChanges and by handling onConfigurationChange separately

see example:

Screen.Recording.2026-09-08.at.11.04.03.mov
  1. we should change the isTablet predicate to match the Android docs, so that our calls to lock orientation to portrait are not ignored by the platform => change "is 7in screen" to "is 600>=dp smallest screen width"

cc: @mountiny as we discussed this in DMs

Issue OwnerCurrent Issue Owner: @GCyganek

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions