ResourceInspection

  
Surface the attributes of custom views in Android Studio’s Live Layout Inspector.
Latest Update Current Stable Release Next Release Candidate Beta Release Alpha Release
June 30, 2021 - - - 1.0.0-alpha03

Declaring dependencies

To add a dependency on ResourceInspection, 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:

Groovy

dependencies {
    implementation "androidx.resourceinspection:resourceinspection-annotation:1.0.0-alpha03"
}

Kotlin

dependencies {
    implementation("androidx.resourceinspection:resourceinspection-annotation:1.0.0-alpha03")
}

For more information about dependencies, see Add build dependencies.

Feedback

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.0.0

Version 1.0.0-alpha03

June 30, 2021

androidx.resourceinspection:resourceinspection-annotation:1.0.0-alpha03 and androidx.resourceinspection:resourceinspection-processor:1.0.0-alpha03 are released. Version 1.0.0-alpha03 contains these commits.

Bug Fixes

  • Fix a bug in generated code that prevented the Layout Inspector from reading view attributes. (Ic7507)

Version 1.0.0-alpha02

June 2, 2021

androidx.resourceinspection:resourceinspection-annotation:1.0.0-alpha02 and androidx.resourceinspection:resourceinspection-processor:1.0.0-alpha02 are released. Version 1.0.0-alpha02 contains these commits.

API Changes

Version 1.0.0-alpha01

March 24, 2021

androidx.resourceinspection:resourceinspection-annotation:1.0.0-alpha01 and androidx.resourceinspection:resourceinspection-processor:1.0.0-alpha01 are released. Version 1.0.0-alpha01 contains these commits.

New Features

The Resource Inspection library provides a convenient way for library developers to surface the attributes of custom views in Android Studio’s Live Layout Inspector. This initial release is 1.0.0-alpha01.