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 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 reference app

Hello Android developers! We’re excited to announce the release of our latest sample application, Dual Screen Experience Example, both as open-source code on GitHub and also available for download from Google Play. What is the sample about? The sample application provides developers and designers with the possibility to...

Hover-ink over dual-screens

Hello Android developers, This week we’re releasing the alpha4 version of our pen SDK preview. The pen SDK is intended to help developers add drawing capabilities to their Android apps, accepting input using touch or pen (including pen features like the eraser tip). The latest open-source SDK code and sample app are ...

New Android pen and ink control preview

Hello Android developers, In a previous post, we shared code to handle pen events including pressure, orientation, and button presses on the pen. Today’s post introduces a preview of a new pen and inking control that you can easily add to your Android apps to get pen (and touch) support without a lot of custom code. (image...

Dual-screen library update with Jetpack Window Manager

Hello Kotlin and Java developers, We’re excited to announce version 1.0.0-beta1 of our dual-screen libraries for Microsoft Surface Duo, which integrates Google’s Jetpack Window Manager support. We’ve made the underlying device interface swappable, so you can continue to use the existing Display Mask API as long as you wish and...