ActivityRule
class ActivityRule : EmbeddingRule
Layout configuration rules for individual activities with split layouts. Take precedence over SplitPairRule.
Summary
Nested types |
|---|
class ActivityRule.BuilderBuilder for |
Public properties |
|
|---|---|
Boolean |
Whether the activity should always be expanded on launch. |
Set<ActivityFilter> |
Filters used to choose when to apply this rule. |
Inherited properties |
||
|---|---|---|
|
Public functions
Public properties
alwaysExpand
val alwaysExpand: Boolean
Whether the activity should always be expanded on launch. Some activities are supposed to expand to the full task bounds, independent of the state of the split. An example is an activity that blocks all user interactions, such as a warning dialog.
filters
val filters: Set<ActivityFilter>
Filters used to choose when to apply this rule. The rule will be applied if any one of the provided filters matches.