Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# android.support.graphics.drawable\n\nadded in [version 24.1.0](/topic/libraries/support-library/revisions) \n\nandroid.support.graphics.drawable\n=================================\n\n| This package is part of the Android [support library](/topic/libraries/support-library) which is no longer maintained. The support library has been superseded by [AndroidX](/jetpack/androidx) which is part of [Jetpack](/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider [migrating](/jetpack/androidx/migrate) existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library [class\n| mappings](/jetpack/androidx/migrate/class-mappings).\n\nInterfaces\n----------\n\n|-------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------|\n| [Animatable2Compat](/reference/android/support/graphics/drawable/Animatable2Compat) | Interface that drawables supporting animations and callbacks should extend in support lib. |\n\nClasses\n-------\n\n|-------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Animatable2Compat.AnimationCallback](/reference/android/support/graphics/drawable/Animatable2Compat.AnimationCallback) | Abstract class for animation callback. |\n| [AnimatedVectorDrawableCompat](/reference/android/support/graphics/drawable/AnimatedVectorDrawableCompat) | For API 24 and above, this class is delegating to the framework's [AnimatedVectorDrawable](https://developer.android.com/reference/android/graphics/drawable/AnimatedVectorDrawable.html). |\n| [R](/reference/android/support/graphics/drawable/R) | |\n| [R.attr](/reference/android/support/graphics/drawable/R.attr) | |\n| [R.bool](/reference/android/support/graphics/drawable/R.bool) | |\n| [R.color](/reference/android/support/graphics/drawable/R.color) | |\n| [R.dimen](/reference/android/support/graphics/drawable/R.dimen) | |\n| [R.drawable](/reference/android/support/graphics/drawable/R.drawable) | |\n| [R.id](/reference/android/support/graphics/drawable/R.id) | |\n| [R.integer](/reference/android/support/graphics/drawable/R.integer) | |\n| [R.layout](/reference/android/support/graphics/drawable/R.layout) | |\n| [R.string](/reference/android/support/graphics/drawable/R.string) | |\n| [R.style](/reference/android/support/graphics/drawable/R.style) | |\n| [R.styleable](/reference/android/support/graphics/drawable/R.styleable) | |\n| [VectorDrawableCompat](/reference/android/support/graphics/drawable/VectorDrawableCompat) | For API 24 and above, this class is delegating to the framework's [VectorDrawable](https://developer.android.com/reference/android/graphics/drawable/VectorDrawable.html). |\n\n-\n\n Interfaces\n ----------\n\n - [Animatable2Compat](/reference/android/support/graphics/drawable/Animatable2Compat)\n-\n\n Classes\n -------\n\n - [Animatable2Compat.AnimationCallback](/reference/android/support/graphics/drawable/Animatable2Compat.AnimationCallback)\n - [AnimatedVectorDrawableCompat](/reference/android/support/graphics/drawable/AnimatedVectorDrawableCompat)\n - [R](/reference/android/support/graphics/drawable/R)\n - [R.attr](/reference/android/support/graphics/drawable/R.attr)\n - [R.bool](/reference/android/support/graphics/drawable/R.bool)\n - [R.color](/reference/android/support/graphics/drawable/R.color)\n - [R.dimen](/reference/android/support/graphics/drawable/R.dimen)\n - [R.drawable](/reference/android/support/graphics/drawable/R.drawable)\n - [R.id](/reference/android/support/graphics/drawable/R.id)\n - [R.integer](/reference/android/support/graphics/drawable/R.integer)\n - [R.layout](/reference/android/support/graphics/drawable/R.layout)\n - [R.string](/reference/android/support/graphics/drawable/R.string)\n - [R.style](/reference/android/support/graphics/drawable/R.style)\n - [R.styleable](/reference/android/support/graphics/drawable/R.styleable)\n - [VectorDrawableCompat](/reference/android/support/graphics/drawable/VectorDrawableCompat)"]]