DensitySplit

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

Whether to split in this dimension.

Public functions

compatibleScreens

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.