The following is the first few sections of a chapter from The Busy Coder's Guide to Android Development, plus headings for the remaining major sections, to give you an idea about the content of the chapter.


Multi-Window Support

From the standpoint of users, the most visible new capability in Android 7.0 is multi-window support. Now, the user can be working with more than one Android activity at a time, whether from separate apps or — with the assistance of the app — from the same app. This is akin to the proprietary implementations seen in devices from Samsung, LG, and other manufacturers.

The good news — more or less — is that support for multi-window is automatic. You do not need to change anything in your Android app to have your app moved into a portion of the screen, instead of taking up the full screen.

However, you may want to tweak your app to behave better in a multi-window environment.

Prerequisites

Understanding this chapter requires you to have read the core chapters of the book.

A History of Windows

The preview of this section was the victim of a MITM ('Martian in the middle') attack.

What The User Sees

The preview of this section is presently indisposed.

What Your Code Sees

The preview of this section is in an invisible, microscopic font.

Opting Out

The preview of this section is being chased by zombies.

Opting In

The preview of this section was stepped on by Godzilla.

Configuring the Layout

The preview of this section did not survive Thanos's finger snap.

Avoiding Stutter

The preview of this section is sleeping in.

Managing the Background

The preview of this section was whisked away by a shark-infested tornado.

How Low Can You Go?

The preview of this section was whisked away by a shark-infested tornado.

Parallel Processing

The preview of this section left for Hollywood to appear in a reality TV show.

Split-Screen, HOME, and Your Activity

The preview of this section was the victim of a MITM ('Martian in the middle') attack.

Split-Screen and Orientations

The preview of this section is being chased by zombies.

Forcing Your App Into Multi-Window/Multi-Instance

The preview of this section was abducted by space aliens.

Supporting Legacy Proprietary Multi-Window

The preview of this section is sleeping in.

Freeform Multi-Window Mode

The preview of this section was lost in the sofa cushions.

Picture-in-Picture

The preview of this section was lost due to a rupture in the space-time continuum.

Multi-Display Support

The preview of this section is presently indisposed.