Surface Duo Blog

Activity Embedding preview for large screens and foldables

Hello Android developers, The Jetpack Window Manager (JWM) library helps you build adaptive UIs that work well on any device form factor (i.e. single screen, dual screen, foldable, and large screen devices). Jetpack Window Manager provides you with the information that you need to adapt your app’s UI, so it works well on any device...

Persisting and sharing ink

Hello Android developers! We have some updates to the InkSDK that we would like to share with you, as well as some general guidance on persisting ink and open ink standards. Overview While Android provides different canvases for rendering ink, there is little guidance on how to store that ink or what format it ...

Foldable Navigation Rail

Hello Android developers! This week we’re excited to share with you a new library to make it easy to support Navigation Rail on foldable devices like Surface Duo. Navigation Rail package One of the tricks when building mobile apps for Surface Duo devices is to avoid your UI being obscured by the hinge. Controls that aren’t...
Comments are closed.0 0

Show off your apps with Phone Link

Hello Android developers! This week we’re going to share some tips and tricks to help you show off your development work in meetings, livestreams, recordings, blog posts, or anywhere else you want a video or still of your app! Demo-ing with Phone Link Your phone’s screen can be mirrored on Surface Duo and other ...

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

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

droidcon Berlin and Surface Duo video collection

Hello Android developers! This week we were inspired by a forum question about interesting Surface Duo media content and provide a variety of different video and audio resources where you can learn more about Surface Duo, foldable devices, and dual-screen Android app development! If you want to chat in person, we’ll also be at ...