Implement custom views.
Latest Update Current Stable Release Next Release Candidate Beta Release Alpha Release
June 24, 2020 1.1.0 - - -

Declaring dependencies

To add a dependency on CustomView, 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 {
    implementation "androidx.customview:customview:1.1.0"


dependencies {


Your feedback helps make Jetpack better. Let us know if you discover new issues or have ideas for improving this library. Please take a look at the existing issues in this library before you create a new one. You can add your vote to an existing issue by clicking the star button.

Create a new issue

See the Issue Tracker documentation for more information.

Version 1.1.0

Version 1.1.0

June 24, 2020

androidx.customview:customview:1.1.0 is released. Version 1.1.0 contains these commits.

Major changes since 1.0.0

  • Added a new Openable interface for layouts that can transition between an ‘open’ and ‘closed’ state.

Version 1.1.0-rc01

May 20, 2020

androidx.customview:customview:1.1.0-rc01 is released with no changes since 1.1.0-beta01. Version 1.1.0-rc01 contains these commits.

Version 1.1.0-beta01

April 1, 2020

androidx.customview:customview:1.1.0-beta01 is released with no changes since 1.1.0-alpha02. Version 1.1.0-beta01 contains these commits.

Version 1.1.0-alpha02

March 4, 2020

androidx.customview:customview:1.1.0-alpha02 is released. Version 1.1.0-alpha02 contains these commits.

New Features

  • Added a new Openable interface for layouts that can transition between an ‘open’ and ‘closed’ state. DrawerLayout now implements this interface in DrawerLayout 1.1.0-alpha04. (b/129979320)

Version 1.1.0-alpha01

June 13, 2019

androidx.customview:customview:1.1.0-alpha01 is released. The commits included in this version can be found here.

API changes

Bug fixes

  • Fixed some small bugs in ExploreByTouchHelper ((aosp/957741)