Posted by means of Maru Ahues Bouza, Director, Android Developer Members of the family
From foldable inventions to seamless connectivity, Google and Samsung have endured to paintings in combination to create useful stories throughout Android telephones, capsules, smartwatches and extra. These days at Galaxy Unpacked in Seoul, Samsung unveiled the brand new Galaxy Z Flip5 and Z Fold5, Galaxy Watch6 collection, and Galaxy Tab S9 collection.
With those new gadgets from Samsung, there are 4 extra causes to verify your app appears nice throughout your whole person’s favourite monitors. Listed below are 3 ways you’ll ensure that your app is in a position for those nice new Samsung gadgets:
1. Supply an ideal foldable revel in
The release of the brand new Galaxy Z Flip5 and Z Fold5 brings two logo new foldables to the Android ecosystem, so you will need to supply stories that experience absolutely adaptive UIs. The secret is that format and app conduct must be in keeping with gadget configuration and to be had options, and no longer the bodily form of the gadget.
Relating to offering an ideal foldable revel in, listed here are a couple of of our most sensible suggestions:
- Use window measurement categories to lead format selections in keeping with your present windowing state the use of opinionated breakpoints which are derived from not unusual gadget varieties.
- Practice folding options with Jetpack WindowManager, which supplies the set of folding options that intersect your app’s present window.
- Make dynamic, runtime selections in keeping with whether or not a function is to be had, as an alternative of assuming {that a} function is or isn’t to be had for a undeniable roughly gadget.
- Referring within the UI to the person’s gadget as merely a “gadget” covers all shape components and is the most straightforward to enforce. On the other hand, differentiating between the more than one gadgets a person can have supplies a extra polished revel in and lets you show the kind of the gadget to the person the use of heuristics related in your specific use case.
You’ll be informed extra about how (and why) to enforce the suggestions above on this detailed weblog and, to seek out best possible practices for updating your app, take a look at the Beef up other display screen sizes web page.
2. Design with multi-device stories in thoughts
With new gadgets, giant and small, you will need to assume in the course of the person revel in you hope to perform. A big a part of that’s the UI and design of your app – with explicit attention to account for in keeping with display screen sizes and kinds.
Making sure your app appears nice on huge monitors is a essential a part of your customers’ revel in. Subject matter You helps gorgeous, environment friendly pill and foldable stories – and, at Google I/O this yr, the group dove into the newest updates to very large display screen tips for designers and builders. You’ll additionally get impressed with the newest design steering and mockup in take a look at the Huge Displays Gallery.
To assist with the demanding situations of designing and construction nice watch stories that paintings for all, we created our the Put on OS Gallery This weblog and the collection of movies that accompany it are constructed to get you began designing inclusive smartwatch apps. For much more knowledge on gorgeous smartwatch design, uncover the brand new Put on OS Gallery the place you’ll in finding normal design pointers, verticalized use circumstances, and implementation concepts.
3. Get in a position for Put on OS 4
The following technology of Put on OS is right here! The Galaxy Watch6 collection comes with the latest model of Google’s smartwatch platform, Put on OS 4. This platform replace could also be coming quickly to different Samsung Galaxy watches, together with the Watch4 and Watch5.
Put on OS 4 is in keeping with Android 13, which is a number of variations more recent than the present Put on OS model, so your app will want to take care of the gadget conduct adjustments that took impact in Android 12 and Android 13. We propose you get started by means of trying out your app and liberating a suitable replace first – as gadgets get upgraded to Put on OS 4, it’s a fundamental however a essential stage of high quality that gives a excellent app revel in for customers.
Obtain the Put on OS 4 emulator in Android Studio Hedgehog to discover new options and check your app on Put on OS 4 Developer Preview.
The discharge of Put on OS 4 comes with many thrilling adjustments – together with a brand new method to construct watchfaces.
The brand new Watch Face Structure is a declarative XML layout that permits you to configure the illusion and behaviour of watch faces. Because of this there is not any executable code all in favour of growing an eye fixed face, and there is not any code embedded to your watch face APK. The Put on OS platform looks after the common sense had to render the watch face so you’ll center of attention for your inventive concepts, fairly than code optimizations or battery efficiency.
Get began with watch faces the use of our documentation or create your individual watch face with Samsung’s Watch Face Studio design instrument.
Get began construction a multi-device revel in as of late!
With all of the superb additions to the Android ecosystem coming from Galaxy Unpacked, there hasn’t ever been a greater time to make certain your app appears nice on all of the gadgets your customers know and love – from capsules to foldables to watches.
Be told extra about construction multi-device stories from Deezer, the place they larger their per 30 days energetic customers 4X after bettering multi-device reinforce. Then get began with Jetpack WindowManager that will help you construct a responsive app for massive monitors by means of testing the documentation and pattern app. In spite of everything, get to grasp Put on OS 4 and take a look at it out along with your app!