Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

Vectordrawable

Latest Update Current Stable Release Next Release Candidate Beta Release Alpha Release
September 5, 2019 1.1.0 - - -

Declaring dependencies

To add a dependency on VectorDrawable, you must add the Google Maven repository to your project. Read Google's Maven repository for more information.

Add the dependencies for the artifacts you need in the build.gradle file for your app or module:

dependencies {
    def vectordrawable_version = "1.1.0"

    implementation "androidx.vectordrawable:vectordrawable:$vectordrawable_version"
    /* To be able to animate properties of a VectorDrawable, add the following.  Useful for
     * illustration purposes or state changes in response to user events
     */
    implementation "androidx.vectordrawable:vectordrawable-animated:$vectordrawable_version"
}

For more information about dependencies, see Add build dependencies.

Version 1.1.0

Version 1.1.0

September 5, 2019

androidx.vectordrawable:vectordrawable:1.1.0 and androidx.vectordrawable:vectordrawable-animated:1.1.0 are released. The commits included in this version can be found here.

Important changes since 1.0.0

New features

  • fillType is now supported in ClipPath
  • Tinting is now supported using ColorStateLists defined with theme attrs in VectorDrawableCompat

Bug fixes

  • Fixed bug in rendering VectorDrawables with gradients (b/117796719)
  • Fixed getColorFilter() that returned null even when it was set (aosp/762198)

Version 1.1.0-rc01

July 2, 2019

androidx.vectordrawable:vectordrawable:1.1.0-rc01 and androidx.vectordrawable:vectordrawable-animated:1.1.0-rc01 are released with no changes from 1.1.0-beta02. The commits included in this version can be found here.

Version 1.1.0-beta02

June 5, 2019

androidx.vectordrawable:vectordrawable:1.1.0-beta02 and androidx.vectordrawable:vectordrawable-animated:1.1.0-beta02 are released. The commits included in this version can be found here.

Bug fixes

  • Change vectordrawable-animated package name (aosp/963431)

Version 1.1.0-beta01

May 7, 2019

androidx.vectordrawable:vectordrawable:1.1.0-beta01 and androidx.vectordrawable:vectordrawable-animated:1.1.0-beta01 are released. The commits included in this version can be found here.

New features

  • fillType is now supported in ClipPath

Version 1.1.0-alpha01

December 3, 2018

New features

  • Support tinting using ColorStateLists defined with theme attrs in VectorDrawableCompat.

Bug fixes

  • Fixed bug in rendering VectorDrawables with gradients (aosp/790377)
  • Fixed getColorFilter() that returned null even when it was set (aosp/762198)

Version 1.0.0

Version 1.0.0

November 7, 2018

New features