EmbeddingConfiguration.DimAreaBehavior


class EmbeddingConfiguration.DimAreaBehavior


The area of dimming to apply.

See also
FLAG_DIM_BEHIND

Summary

Public companion properties

EmbeddingConfiguration.DimAreaBehavior

The dim effect is applying on the ActivityStack of the Activity window when needed.

EmbeddingConfiguration.DimAreaBehavior

The dimming effect is applying on the area of the whole Task when needed.

EmbeddingConfiguration.DimAreaBehavior

The dim area is not defined.

Public functions

open String

Public companion properties

ON_ACTIVITY_STACK

val ON_ACTIVITY_STACKEmbeddingConfiguration.DimAreaBehavior

The dim effect is applying on the ActivityStack of the Activity window when needed. If the ActivityStack is split and displayed side-by-side with another ActivityStack, the dim effect is applying only on the ActivityStack of the requested Activity.

ON_TASK

val ON_TASKEmbeddingConfiguration.DimAreaBehavior

The dimming effect is applying on the area of the whole Task when needed. If the embedded transparent activity is split and displayed side-by-side with another activity, the dim effect is applying on the Task, which across over the two ActivityStacks.

This is the default dim area configuration of the Activity Embedding environment, before the DimAreaBehavior is explicitly set by ActivityEmbeddingController.setEmbeddingConfiguration.

UNDEFINED

val UNDEFINEDEmbeddingConfiguration.DimAreaBehavior

The dim area is not defined.

This is the default value while building a EmbeddingConfiguration. This would also keep the existing dim area configuration of the current Activity Embedding environment unchanged when ActivityEmbeddingController.setEmbeddingConfiguration is called.

Public functions

toString

open fun toString(): String