DensitySplit

Added in 4.2.0
Deprecated in 8.1.0

interface DensitySplit : Split

DSL object for configuring per-density splits options.

See APK Splits.

Summary

Public functions

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 com.android.build.api.dsl.Split
Unit
exclude(vararg excludes: String)

Excludes some values

Unit
include(vararg includes: String)

Includes some values

Unit

Resets the list of included split configuration.

Inherited properties

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

Whether to split in this dimension.

Public functions

compatibleScreens

Added in 4.2.0
Deprecated in 8.1.0
fun compatibleScreens(vararg sizes: String): Unit

Adds a new compatible screen.

Public properties

compatibleScreens

Added in 4.2.0
Deprecated in 8.1.0
val compatibleScreensMutableSet<String>

A list of compatible screens.

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

isStrict

Added in 4.2.0
Deprecated in 8.1.0
var isStrictBoolean

TODO: Document.