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.v4.graphics.drawable\n\nadded in [version 22.1.0](/topic/libraries/support-library/revisions) \n\nandroid.support.v4.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\nClasses\n-------\n\n|--------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [DrawableCompat](/reference/android/support/v4/graphics/drawable/DrawableCompat) | Helper for accessing features in [Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html). |\n| [IconCompat](/reference/android/support/v4/graphics/drawable/IconCompat) | Helper for accessing features in [Icon](https://developer.android.com/reference/android/graphics/drawable/Icon.html). |\n| [RoundedBitmapDrawable](/reference/android/support/v4/graphics/drawable/RoundedBitmapDrawable) | A Drawable that wraps a bitmap and can be drawn with rounded corners. |\n| [RoundedBitmapDrawableFactory](/reference/android/support/v4/graphics/drawable/RoundedBitmapDrawableFactory) | Constructs [RoundedBitmapDrawable](/reference/android/support/v4/graphics/drawable/RoundedBitmapDrawable) objects, either from Bitmaps directly, or from streams and files. |\n\n-\n\n Classes\n -------\n\n - [DrawableCompat](/reference/android/support/v4/graphics/drawable/DrawableCompat)\n - [IconCompat](/reference/android/support/v4/graphics/drawable/IconCompat)\n - [RoundedBitmapDrawable](/reference/android/support/v4/graphics/drawable/RoundedBitmapDrawable)\n - [RoundedBitmapDrawableFactory](/reference/android/support/v4/graphics/drawable/RoundedBitmapDrawableFactory)"]]