Surface Duo Blog

Join us at droidcon in 2022

Hello Android developers! We’re excited to announce that conference events are offering in-person attendance this year, which means we’ll be able to meet face-to-face in addition to interacting via social media and Twitch! droidcon San Francisco The first event on our droidcon calendar is San Francisco on June 2nd and 3rd...

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 ...

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 ...

Jetpack Compose WindowState preview

Hello Jetpack Compose developers! This week, we’d like to announce the release of WindowState, a new utility library that’s part of our Compose SDK. Our goal was to provide easy access to all the window information provided by the Jetpack Window Manager library and to simplify the logic required to enhance your apps for large ...

Happy Two Year

Hello developers! Welcome to 2022 – a great year to be developing for two screens! To kick off the new year we’re going to do a quick recap of all the two screen enhanced components – across developer platforms – that can help you get started quickly with dual-screen and foldable support, while also providing great single-...

Get started with Jetpack Compose

Hello (future) Jetpack Compose developers! This week, we want to talk about how to get started on building applications with Jetpack Compose. A few of us on the Surface Duo Developer Experience team recently began learning Compose, so we’d like to share some advice and resources with you. To read more about the work we’ve...

Jetpack Compose Navigation Rail

Hello Jetpack Compose developers! This week, we released a new sample that demonstrates how to use the NavigationRail component with large screen and foldable devices. These guidelines were also introduced recently in the Microsoft Surface Duo Design Kit 2.1. Create a NavigationRail with Compose We first blogged about NavigationRail in ...

New TwoPaneLayout Compose library preview

Hello Android developers! Google just announced the first release candidate for Compose on 07/01. We are getting one big step closer to stable this month! In previous blogs, Jetpack Compose on foldable and dual-screen development and Jetpack Compose on Microsoft Surface Duo, we mentioned that there are two main steps you can ...