New issue
Advanced search Search tips

Issue 704164 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

[Android][Client] Preserve screen position during resize

Project Member Reported by joedow@chromium.org, Mar 22 2017

Issue description

In android N, we added support for multi-window mode.  When the app transitions between splitscreen and fullscreen, and when it is resized in splitscreen mode, the OS destroys and recreates our activity.

The effect is that the user loses zoom level and desktop position when this action is taken.

We should look at preserving this information so that the view provided by our app remains consistent between window mode changes.

One way to do this is handling configuration changes ourselves:
https://developer.android.com/guide/topics/resources/runtime-changes.html

Another could be to squirrel away a set of screen stats which we can restore when the activity is recreated.
 
Owner: lambroslambrou@chromium.org
Status: Assigned (was: Untriaged)
I'm less concerned about the splitscreen behaviour, but this also affects device rotation so I think it's worth fixing.

Sign in to add a comment