DensitySplit

interface DensitySplit : Split
com.android.build.api.dsl.DensitySplit

DSL object for configuring per-density splits options.

See APK Splits.

Summary

Public methods

abstract Unit
compatibleScreens(vararg sizes: String)

Adds a new compatible screen.

Inherited functions

Properties

abstract MutableSet<String>

A list of compatible screens.

abstract Boolean

TODO: Document.

Inherited properties

Public methods

compatibleScreens

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

Adds a new compatible screen.

Properties

compatibleScreens

abstract val compatibleScreens: MutableSet<String>

A list of compatible screens.

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

isStrict

abstract var isStrict: Boolean

TODO: Document.