Surface Duo Blog

Relay Anchor Leg: Overall impressions

Hello Compose developers, Over the last two weeks, I’ve given a brief introduction to Relay, as well as talked about some of the tips and tricks I picked up while using the tool. This week, I’ll share my thoughts on the current state of Relay from the developer point of view. As a reminder, Relay is in alpha, so please go...

Relay Leg 2: Tips and tricks

Hello Compose developers, Last week, I gave a brief introduction to Relay, the new Figma to Compose tool developed by Google. This week, I’ll dive deeper into some tips and tricks I learned when testing out Relay, As a reminder, Relay is in alpha, so please go try it out and send the Relay team your feedback! Putting Relay...

Pass the design baton with Relay

Hello Compose developers, Over the holidays, I finally got the chance to test out Relay, the new tool released by Google late last year. The goal of Relay is to simplify the “handoff problem” between designers and developers by translating Figma designs directly into Compose code. Figure 1. Viewing the StatusCard and Chip...

Happy Holidays 2022

Hello Android developers, Inspired by the growth of AI and its role in products like GitHub’s Copilot this year, we asked ChatGPT to “propose some applications for Surface Duo owners to use over the holidays”… One possible application for Surface Duo owners to use over the holidays could be to use the dual screens ...

Compose TwoPaneLayout updates

Hello Compose developers, This week, we’d like to announce two major updates to our TwoPaneLayout component that come with version 1.0.1-alpha05. We hope these updates will help make the library even more flexible and useful for you all. We also have some other Compose SDK updates to announce! New value in PaneMode ...

droidcon New York and London

Hello Android developers! It has been great to see the community face-to-face at droidcon events around the world in 2022. The Surface Duo team really enjoyed meeting folks, presenting, and discussing foldable app development face-to-face. If you didn’t make it to an event (or if you did but want to re-live it) more sessions are ...

Jetpack Compose Accompanist TwoPane

Hello Compose developers! This week, we’d like to talk about the TwoPane layout from Google’s Accompanist Adaptive library! Not to be confused with our own Microsoft Compose SDK TwoPaneLayout component, TwoPane from Accompanist is a fold-aware UI component that works great for cases when you always want to show two pieces...

Improving app accessibility with Jetpack Compose

Hello Jetpack Compose developers! This week, we’d like to share how we started improving the accessibility of our Compose samples. Accessibility in Android can relate to many different aspects of your apps, ranging from content descriptions and color contrast to layout hierarchy and touch target size. Regardless of where ...

Dual-screen example adds Jetpack Compose to the experience

Hello Compose developers! This week, we’re excited to announce two big updates to our dual-screen experience example: a Compose refactor of the catalog page and a brand new order history page. The dual-screen experience example provides an end-to-end experience centered around a travelling guitar salesperson, with options ...

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