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 com.android.build.api.dsl.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.

Inherited properties

From class com.android.build.api.dsl.Split
Boolean

Whether to split in this dimension.

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

var isStrictBoolean

TODO: Document.