[フレーム]
BT

InfoQ Software Architects' Newsletter

A monthly overview of things you need to know as an architect or aspiring architect.

View an example

We protect your privacy.

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Unlock the full InfoQ experience

Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with content, and download exclusive resources.

Log In
or

Don't have an InfoQ account?

Register
  • Stay updated on topics and peers that matter to youReceive instant alerts on the latest insights and trends.
  • Quickly access free resources for continuous learningMinibooks, videos with transcripts, and training materials.
  • Save articles and read at anytimeBookmark articles to read whenever youre ready.

Topics

Choose your language

InfoQ Homepage News Android 15 Brings Desktop-Like Windowing UX on Tablets

Android 15 Brings Desktop-Like Windowing UX on Tablets

This item in japanese

Sep 29, 2024 2 min read

Write for InfoQ

Feed your curiosity. Help 550k+ global
senior developers
each month stay ahead.
Get in touch

The latest Beta 2 for the upcoming Android 15 release introduces desktop windowing for tablets as a developer preview. The new feature makes it possible to manage "freeform windows" that users can create to display multiple apps and resize or move around similarly to what they would do on a desktop computer.

Desktop windowing on Android tablets creates new opportunities for your apps, particularly around productivity and multitasking. The possibility to resize and reposition multiple app windows allows users to easily compare documents, reference information while composing emails, and multitask efficiently.

The desktop windowing feature includes a refreshed System UI and new APIs for developers that make it possible to run multiple apps side-by-side simultaneously, with each app contained in its own window. Similarly to desktop UIs, app windows include a header bar to minimize, maximize, and move them. Apps can also customize the header bar content, for example, by displaying tabs, buttons, a dropdown menu, and so on.

To better manage all the windows a user creates, the System UI provides a fixed Taskbar showing running apps as well as shortcuts to quickly launch apps that are used more often. Users can also quickly and easily switch between full-size mode, Android's default where each app is displayed fullscreen, and desktop windowing mode.

For developers, making their apps ready to take advantage of desktop windowing means implementing layout optimizations to adapt to different screen sizes and device configurations. This requirement corresponds to what Google labels Tier 2 support for large screens, which is less demanding than the top tier, Tier 1, where apps are specifically designed for different form factors, including tablets, foldables, and ChromeOS. Besides being responsive or adaptive, Tier 2 apps must also support different input devices, such as keyboard, mouse, and trackpad.

For Tier 3 apps, which run full screen, developers will need to implement support for window size classes to adapt layout, content, and interaction to different windows dimensions and make sure they persist layout configuration change across sessions.

In addition to this, freeform windows naturally lead to run multiple apps simultaneously, says Google, so that developers should make their apps ready for drag and drop and avoid requiring exclusive access to resources like camera and microphone, which could also be used by other concurrent apps.

A new possibility made possible by desktop windowing is running multiple instances of the same app in separate windows, e.g., side by side. If an app supports this possibility, it can set the multi-instance property for the System UI to let users launch it multiple times.

Finally, apps compatible with desktop windowing should be aware that the window header bar is always shown, and app content should be laid out taking into account its coordinates so it does not get obscured.

As mentioned, desktop windowing is part of the Android 15 QPR1 Beta 2 release and can be enabled by selecting the "Enable freeform windows" option in "Developer options".

About the Author

Sergio De Simone

Show moreShow less

Rate this Article

Adoption
Style

This content is in the Mobile topic

Related Topics:

Related Content

The InfoQ Newsletter

A round-up of last week’s content on InfoQ sent out every Tuesday. Join a community of over 250,000 senior developers. View an example

We protect your privacy.

BT

AltStyle によって変換されたページ (->オリジナル) /