Code Monkey home page Code Monkey logo

surface-duo-sdk-samples-kotlin's Issues

VerticalViewPager on TwoPage Sample Unresponsive

All horizontal swiping is fine for the TwoPage sample, but when in the dual landscape screen configuration, the vertical scrolling can miss some of the swiping events and is overall not as smooth as swiping through pages horizontally. This bug is shown in the demonstration here.

This problem is apparently amplified (vertical scrolling is even less responsive) when using Jetpack Window Manager instead of the Surface Duo SDK to manage the layout. This is not confirmed, but in my app's case, the only real difference was that it used JWM instead of the Duo SDK and only the vertical scroll seemed to perform worse.

To reproduce, simply enter the dual landscape screen configuration and swipe up and down through the pages. The issue is independent of any prior configurations, as I was able to reproduce it starting from every configuration/orientation before switching to dual landscape. I even tried going straight to dual landscape and the problem still occurred.

[Picture-in-Picture] Create new sample that highlights this feature

Currently this repository doesn't have a sample that highlights Picture-in-Picture feature.
Since Surface Duo is a dual-screen device, it could be interesting implement a basic sample app that highlights this feature and takes advantage of having two screens side by side.
It could be that are some exceptions that can affect the behavior of Picture-in-Picture and cannot be done (e.g. maybe is not possible to move the small picture to the adjacent screen, so this exercise is also a r&d one).

More info: https://developer.android.com/guide/topics/ui/picture-in-picture

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.