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 screen 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 cell, 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 is predicated on Android 14, this new platform model brings with it a variety of developer-facing adjustments. To make sure your app is prepared for the subsequent technology 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 to your customers. New watches launched with Put on OS 5 will solely help third-party watch faces constructed with Watch Face Format, prioritizing the person expertise. For extra info on watch face compatibility, see this Assist Heart 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 screen sizes and kinds
The most recent in giant screens and foldables are right here, with the brand new Galaxy Z Fold6 and Z Flip6, so there’s much more motive to make sure your app appears to be like nice throughout no matter display screen measurement or folded state your customers are participating with. The easiest way to try 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 cell, tablets, foldables, desktop and extra.
An awesome 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 courses are one of the simplest ways to scale your UI, with opinionated breakpoints that make it easier to design, develop, and check responsive/adaptive layouts throughout numerous window sizes. Window measurement courses allow you to vary your app format because the show area out there to your app adjustments, for instance, when a tool folds or unfolds, the machine orientation adjustments, or the app window is resized in multi‑window mode.
Uncover every little thing it is advisable learn about constructing adaptive apps with the adaptive apps documentation; it will likely 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 most important, 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 right now by testing Put on OS developer web site 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!