VectorDrawablesOptions

DSL object used to configure vector drawable options.

Properties

PropertyDescription
generatedDensities

Densities used when generating PNGs from vector drawables at build time. For the PNGs to be generated, minimum SDK has to be below 21.

useSupportLibrary

Whether to use runtime support for vector drawables, instead of build-time support.

Methods

No methods

Script blocks

No script blocks

Property details

Set<String> generatedDensities

Densities used when generating PNGs from vector drawables at build time. For the PNGs to be generated, minimum SDK has to be below 21.

If set to an empty collection, all special handling of vector drawables will be disabled.

See Supporting Multiple Screens.

Boolean useSupportLibrary

Whether to use runtime support for vector drawables, instead of build-time support.

See Vector Asset Studio.