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 left for Hollywood to appear in a reality TV show.

What The User Sees

The preview of this section was eaten by a grue.

What Your Code Sees

The preview of this section is en route to Mars.

Opting Out

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

Opting In

The preview of this section was accidentally identified as an Android 'tasty treat' by the Cookie Monster.

Configuring the Layout

The preview of this section was last seen in the Bermuda Triangle.

Avoiding Stutter

The preview of this section is presently indisposed.

Managing the Background

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

How Low Can You Go?

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

Parallel Processing

The preview of this section is out seeking fame and fortune as the Dread Pirate Roberts.

Split-Screen, HOME, and Your Activity

The preview of this section was stepped on by Godzilla.

Split-Screen and Orientations

The preview of this section is unavailable right now, but if you leave your name and number at the sound of the tone, it might get back to you (BEEEEEEEEEEEEP!).

Forcing Your App Into Multi-Window/Multi-Instance

The preview of this section was accidentally identified as an Android 'tasty treat' by the Cookie Monster.

Supporting Legacy Proprietary Multi-Window

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

Freeform Multi-Window Mode

The preview of this section is presently indisposed.

Picture-in-Picture

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

Multi-Display Support

The preview of this section will not appear here for a while, due to a time machine mishap.