Surface Duo Blog

Snackbar for dual-screens

Hello Android developers! We are excited to announce the release of our latest Android component: SnackbarContainer. The new SnackbarContainer allows you to place a Snackbar on a specific display area on foldable devices, while keeping the original Snackbar behaviour in conventional single screen devices. The SnackbarContainer ...

Foldable ExoPlayer video… plus trivia

Hello Android developers! Video is an important element of many different types of mobile apps, including those designed for viewing TV and movie shows, livestreaming, social sharing, voice calling, meetings, training, and anything in-between. Large screen and foldable devices are ideal for this type of content because there’s ...

Write foldable tests quickly with Test Kit

Hello Android developers! This week, we’re super excited to announce that we’ve released the first version of our foldable Test Kit. The Test Kit currently includes two testing utility libraries, one for layouts built with views and another for layouts built with Jetpack Compose, and we’re looking forward to adding more ...

Microsoft Edge dual-screen web APIs

Hello dual-screen web developers! Microsoft Edge version 97 included the dual-screen web APIs that have been in preview since last year. Now Microsoft Surface Duo users with the latest Edge will get an enhanced web experience automatically when sites have implemented the CSS or JavaScript dual-screen APIs. Visit the dual-screen web ...

Jetpack Compose UI testing

Hello Jetpack Compose developers! We’re excited to announce that UI tests have been added to all our Compose samples! We learned a lot throughout the process of adding these tests, so we hope this week’s blog post makes it easier for you to start testing your own Compose layouts, especially when testing for compatibility ...

Foldable Flutter follow-up

How else to start this article other than saying Hello Flutter developers! This is an update on the foldable support we are contributing to Flutter, along with samples and other goodies for you to try out. Before we dive in, here is a video presenting most of what you are about to read. This is from the Flutter Vikings conference which ...

Foldable Navigation component update

Hello Android developers! We’re excited to announce the release of our latest SDK component, Foldable Navigation Component, which is an extension of Jetpack Navigation Component and is now available for foldable devices. How to add Foldable Navigation Component to your project How it works Jetpack Navigation Component ...

Dual-screen app design walkthrough

Hello designers, This week we are excited to share with you our journey that inspires, educates, and showcases real world usage of various design patterns and provides designers a sense of exploring foldables with working examples of how to make use of the dual-screen/folding form factors in different ways when an application is ...