Giter VIP home page Giter VIP logo

surface-duo-dual-screen-experience-example's Introduction

Dual Screen Experience Example

The application provides developers and designers with real world, working examples of how to make use of the dual-screen/foldable form factor in different ways. It enables an end-to-end experience using a prescribed user scenario, centered around the needs of a travelling salesperson who visits various fictitious stores which are interested in buying the salesperson’s fictitious products. It helps the salesperson select and navigate to multiple predetermined customer locations in a city, assist the salesperson's tasks in various ways during the visit to each potential client, and create a report of each visit.

When spanned across the folding feature, a Developer Mode option appears in the toolbar which shows more details regarding each screen - the code behind it, the user interface patterns it implements and the dual-screen controls it uses.

The application is built using the Foldable Navigation Component, BottomNavigationView, RecyclerView, Ink SDK, SnackbarContainer, Testing Kit.

Dual Screen Experience Example build

Install from Google Play Store

If you want to try out the released version, you can find it here:

Google Play Badge

Getting Started

To learn how to load apps on the Surface Duo emulator, see the documentation, and follow the blog.

Screenshots

Social links

Blog post Video
Dual-screen reference app Twitch #48: Dual Screen Experience sample app
Dual-screen app design walkthrough Twitch #56: Dual screen app design walkthrough
Accessibility in a dual-screen application Twitch #69: Accessibility on dual screen apps
Dual-screen example adds Jetpack Compose to the experience Twitch #86: Adding Jetpack Compose to existing apps

Related links

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft’s Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party’s policies.

License

Copyright (c) Microsoft Corporation.

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

surface-duo-dual-screen-experience-example's People

Contributors

alinargeanu avatar bimiron avatar cesarvaliente avatar conceptdev avatar khalp avatar microsoft-github-operations[bot] avatar microsoftopensource avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

surface-duo-dual-screen-experience-example's Issues

[FEATURE]

💡 Describe the feature

🆕 New component or addition to an existent one?

Hi there,
Tbh at this point all of the sudden some ideas storming and going to defenitly share as soon as I have precise plan.

🖼️ Support images

NA

🙋‍♀️ Do you want to build the feature?

  • Yes
  • No

CustomizeActivity and LaunchActivity receive single mode from the ScreenInfoListener when app is spanned in MainActivity

CustomizeActivity

  • If opened in dual screen directly through the Customize button from Products Details, it displays as if it was in single mode because of the ScreenInfoListener (so the fragment with the controls appears, but the details fragment doesn't)

LaunchActivity

  • If MainActivity is opened using the Launch button in single mode, then the app is spanned and back is pressed, it displays as if it was in single mode because of the ScreenInfoListener

[FEATURE]

💡 Describe the feature

🆕 New component or addition to an existent one?

🖼️ Support images

🙋‍♀️ Do you want to build the feature?

  • Yes
  • No

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.