DensitySplit

interface DensitySplit : Split


DSL object for configuring per-density splits options.

See APK Splits.

Summary

Public functions

@Incubating Unit
compatibleScreens(vararg sizes: String?)

Adds a new compatible screen.

Public properties

MutableSet<String>

A list of compatible screens.

Boolean

TODO: Document.

Inherited functions

From class Split
@Incubating Unit
exclude(vararg excludes: String?)

Excludes some values

@Incubating Unit
include(vararg includes: String?)

Includes some values

@Incubating Unit

Resets the list of included split configuration.

Public functions

compatibleScreens

@Incubating
fun compatibleScreens(vararg sizes: String?): Unit

Adds a new compatible screen.

Public properties

compatibleScreens

val compatibleScreensMutableSet<String>

A list of compatible screens.

This will inject a matching <compatible-screens><screen ...> node in the manifest. This is optional.

isStrict

val isStrictBoolean

TODO: Document.