Surface Duo Blog

Experimenting with postures in Flutter

The things I'm doing in this article are highly experimental. By the end of it hopefully you will agree with these two statements: To achieve the desired behavior, I end up using several hacky techniques which I would think twice before shipping to production. This article is not a tutorial. It is a story of the fun I had with ...

Test Kit Annotations update

Hello Android developers! We are excited to announce an update for the foldable Test Kit library. Test Kit provides utility methods and classes that help you write instrumented tests for large screen and foldable devices. This update adds annotations which are useful for creating tests for one posture at a time. Now, instead of ...

Making a gamepad for my Flutter game

Did you know that building games in Flutter is just as easy as building apps? There is even a game engine built on top of it called Flame. Today we are first going to explore building a simple game with Flame and then enhance the game for dual-screen and foldable devices. This space themed game will use an on-screen gamepad controller as ...

Drag and drop library for Jetpack Compose

Hello Compose developers! This week, we are excited to announce the release of DragAndDrop, a new utility library that will help you easily add interactive drag and drop capabilities to your app in Compose, following Google’s Drag and drop guidelines. It is the newest addition to Microsoft’s Compose SDK. On dual-screen ...

droidcon San Francisco recap

Hello Android developers, Earlier this year the Surface Duo team attended our first in-person conference for the year at droidcon in San Francisco! It was great to meet Android developers from all over the world, demonstrate the features of Surface Duo, and chat about building apps for foldable and large screen devices. We’...

Feedback usabilla icon