androidx.window.embedding

Classes

ActivityEmbeddingController

The controller that allows checking the current Activity embedding status.

ActivityFilter

Filter for ActivityRule and SplitPlaceholderRule that checks for component name match when a new activity is started.

ActivityRule

Layout configuration rules for individual activities with split layouts.

ActivityRule.Builder

Builder for ActivityRule.

ActivityStack

A container that holds a stack of activities, overlapping and bound to the same rectangle on the screen.

EmbeddingAspectRatio

The aspect ratio of the parent window bound to allow embedding with the rule.

EmbeddingRule

Base abstract class for activity embedding presentation rules, such as SplitPairRule and ActivityRule.

RuleController

The controller to manage EmbeddingRules.

SplitAttributes

Attributes that describe how the parent window (typically the activity task window) is split between the primary and secondary activity containers, including:

SplitAttributes.Builder

Builder for creating an instance of SplitAttributes.

SplitAttributes.LayoutDirection

The layout direction of the primary and secondary activity containers.

SplitAttributes.SplitType

The type of parent window split, which defines the proportion of the parent window occupied by the primary and secondary activity containers.

SplitAttributesCalculatorParams

The parameter container used to report the current device and window state in SplitController.setSplitAttributesCalculator and references the corresponding SplitRule by splitRuleTag if SplitPairRule.tag is specified.

SplitController

The controller class that gets information about the currently active activity splits and provides interaction points to customize the splits and form new splits.

SplitController.SplitSupportStatus

A class to determine if activity splits with Activity Embedding are currently available.

SplitInfo

Describes a split pair of two containers with activities.

SplitPairFilter

Filter for SplitPairRule and used to find if a pair of activities should be put in a split.

SplitPairRule

Split configuration rules for activity pairs.

SplitPairRule.Builder

Builder for SplitPairRule.

SplitPlaceholderRule

Configuration rules for split placeholders.

SplitPlaceholderRule.Builder

Builder for SplitPlaceholderRule.

SplitRule

Split configuration rules for activities that are launched to side in a split.

SplitRule.FinishBehavior

Determines what happens with the associated container when all activities are finished in one of the containers in a split.