Posted by Maru Ahues Bouza – Product Administration Director, Android Developer
Yesterday’s Galaxy Unpacked occasion from Samsung debuted the most recent in foldables, wearables, and extra! The occasion launched the Galaxy Z Fold6 and Z Flip6 and the Galaxy Watch7 and Watch Extremely – and it has by no means been simpler to construct apps that look nice throughout all these display sizes and kinds. That can assist you get your apps prepared for the most recent Android units, we’re sharing how one can put together your app for Put on OS 5 and the right way to construct adaptive apps that scale throughout cellular, tablets, foldables and extra!
Get your app prepared for Put on OS 5
Samsung’s new Galaxy Watch lineup, together with the Watch Extremely and Watch7, would be the first smartwatches powered by Put on OS 5, the most recent model of the Put on OS platform. As Put on OS 5 relies on Android 14, this new platform model brings with it quite a lot of developer-facing modifications. To make sure your app is prepared for the subsequent era of units, begin by testing your app on the Put on OS 5 Emulator!
Put on OS 5 brings the subsequent iteration of the Watch Face Format, offering extra options to create expressive, environment friendly and particular person watch faces on your customers. New watches launched with Put on OS 5 will solely assist third-party watch faces constructed with Watch Face Format, prioritizing the person expertise. For extra data on watch face compatibility, see this Assist Middle article.
As we collect momentum behind the Watch Face Format, we’re altering necessities for publishing watch faces on Google Play. Take a look at the watch face web page for the most recent steerage.
Construct adaptive to scale throughout display sizes and kinds
The newest in massive screens and foldables are right here, with the brand new Galaxy Z Fold6 and Z Flip6, so there’s much more cause to make sure your app appears nice throughout no matter display measurement or folded state your customers are participating with. The easiest way to do this is to make your app adaptive – that means your customers get an optimum expertise on all their units. By constructing an adaptive app, you scale throughout cellular, tablets, foldables, desktop and extra.
A terrific place to start out when constructing adaptive apps is with the brand new Compose adaptive format libraries. These libraries are designed that can assist you to make your UI look good throughout window sizes. From navigation UI to record/element and supporting pane layouts, we’re offering composables to make constructing an adaptive app simpler than ever.
Moreover, window measurement lessons are the easiest way to scale your UI, with opinionated breakpoints that enable you design, develop, and take a look at responsive/adaptive layouts throughout varied window sizes. Window measurement lessons allow you to alter your app format because the show area accessible to your app modifications, for instance, when a tool folds or unfolds, the machine orientation modifications, or the app window is resized in multi‑window mode.
Uncover every little thing you’ll want to find out about constructing adaptive apps with the adaptive apps documentation; it is going to be regularly up to date with the most recent and biggest instruments and APIs to allow you to scale throughout screens!
Get began with Adaptive Apps and Put on OS
With these new units, from the smallest to the biggest, there are alternatives to construct apps that excite your customers on all their favourite Android screens. Apps like SoundCloud, Peloton, and extra are already constructing experiences that scale throughout their person’s favourite screens!
Get constructing for Put on OS as we speak by trying out Put on OS developer website and visiting the Put on OS gallery for inspiration. And scale your app throughout much more screens by constructing adaptive with the newest from Compose!