컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
ResourceInspection
Android 스튜디오의 Live Layout Inspector에 맞춤 뷰 속성을 표시합니다.
최근 업데이트 |
안정화 버전 |
출시 후보 버전 |
베타 버전 |
알파 버전 |
2022년 1월 26일 |
1.0.1 |
- |
- |
- |
종속 항목 선언
ResourceInspection에 종속 항목을 추가하려면 프로젝트에 Google Maven 저장소를 추가해야 합니다. 자세한 내용은 Google Maven 저장소를 읽어보세요.
다음과 같이 앱 또는 모듈의 build.gradle
파일에 필요한 아티팩트의 종속 항목을 추가합니다.
Groovy
dependencies {
implementation "androidx.resourceinspection:resourceinspection-annotation:1.0.1"
}
Kotlin
dependencies {
implementation("androidx.resourceinspection:resourceinspection-annotation:1.0.1")
}
종속 항목에 관한 자세한 내용은 빌드 종속 항목 추가를 참고하세요.
의견
제출하신 의견은 Jetpack을 개선하는 데 도움이 됩니다. 새로운 문제를 발견하거나 라이브러리 개선을 위한 아이디어가 있다면 Google에 알려 주세요. 새 문제를 제출하기 전에 이 라이브러리의 기존 문제를 살펴보시기 바랍니다. 별표 버튼을 클릭하여 기존 문제에 투표할 수 있습니다.
새로운 문제 제출하기
자세한 내용은 Issue Tracker 문서를 참고하세요.
버전 1.0
버전 1.0.1
2022년 1월 26일
androidx.resourceinspection:resourceinspection-annotation:1.0.1
및 androidx.resourceinspection:resourceinspection-processor:1.0.1
이 출시되었습니다. 버전 1.0.1에 포함된 커밋을 확인하세요.
버그 수정
버전 1.0.0
2021년 11월 3일
androidx.resourceinspection:resourceinspection-annotation:1.0.0
및 androidx.resourceinspection:resourceinspection-processor:1.0.0
이 출시되었습니다. 버전 1.0.0에 포함된 커밋을 확인하세요.
1.0.0의 주요 기능
- ResourceInspection 라이브러리는 주석 프로세서를 제공하여 라이브러리 개발자가 Android 스튜디오의 Live Layout Inspector에서 맞춤 뷰 속성을 표시할 수 있도록 합니다.
버전 1.0.0-rc01
2021년 10월 27일
androidx.resourceinspection:resourceinspection-annotation:1.0.0-rc01
및 androidx.resourceinspection:resourceinspection-processor:1.0.0-rc01
이 출시되었습니다. 버전 1.0.0-rc01에 포함된 커밋을 확인하세요.
버전 1.0.0-beta01
2021년 9월 15일
androidx.resourceinspection:resourceinspection-annotation:1.0.0-beta01
및 androidx.resourceinspection:resourceinspection-processor:1.0.0-beta01
이 출시되었습니다. 버전 1.0.0-beta01에 포함된 커밋을 확인하세요.
버그 수정
- 존재하지 않는 속성에 발생하는 비정상 종료 문제를 수정했습니다. (I87df0)
- 이전 SDK를 대상으로 컴파일할 때 발생하는 비정상 종료 문제를 수정했습니다. (Ie8a1e)
- int enum 및 플래그의 유효성 검사를 추가했습니다. (Ic7ecf)
버전 1.0.0-alpha03
2021년 6월 30일
androidx.resourceinspection:resourceinspection-annotation:1.0.0-alpha03
및 androidx.resourceinspection:resourceinspection-processor:1.0.0-alpha03
이 출시되었습니다. 버전 1.0.0-alpha03에 포함된 커밋을 확인하세요.
버그 수정
- Layout Inspector가 뷰 속성을 읽지 못하게 하는 생성된 코드의 버그를 수정했습니다. (Ic7507)
버전 1.0.0-alpha02
2021년 6월 2일
androidx.resourceinspection:resourceinspection-annotation:1.0.0-alpha02
및 androidx.resourceinspection:resourceinspection-processor:1.0.0-alpha02
가 출시되었습니다. 버전 1.0.0-alpha02에 포함된 커밋을 확인하세요.
API 변경사항
버전 1.0.0-alpha01
2021년 3월 24일
androidx.resourceinspection:resourceinspection-annotation:1.0.0-alpha01
및 androidx.resourceinspection:resourceinspection-processor:1.0.0-alpha01
이 출시되었습니다. 버전 1.0.0-alpha01에 포함된 커밋을 확인하세요.
새로운 기능
라이브러리 개발자는 Resource Inspection 라이브러리를 사용하여 Android 스튜디오의 Live Layout Inspector에 맞춤 뷰 속성을 편리하게 표시할 수 있습니다. 최초 출시 버전은 1.0.0-alpha01
입니다.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-07-27(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-27(UTC)"],[],[],null,["# Resource Inspection\n\nResourceInspection\n==================\n\nAPI Reference \n[androidx.resourceinspection.annotation](/reference/kotlin/androidx/resourceinspection/annotation/package-summary) \nSurface the attributes of custom views in Android Studio's Live Layout Inspector. \n\n| Latest Update | Stable Release | Release Candidate | Beta Release | Alpha Release |\n|------------------|--------------------------------------------------------------|-------------------|--------------|---------------|\n| January 26, 2022 | [1.0.1](/jetpack/androidx/releases/resourceinspection#1.0.1) | - | - | - |\n\nDeclaring dependencies\n----------------------\n\nTo add a dependency on ResourceInspection, you must add the Google Maven repository to your\nproject. Read [Google's Maven repository](/studio/build/dependencies#google-maven)\nfor more information.\n\nAdd the dependencies for the artifacts you need in the `build.gradle` file for\nyour app or module: \n\n### Groovy\n\n```groovy\ndependencies {\n implementation \"androidx.resourceinspection:resourceinspection-annotation:1.0.1\"\n}\n```\n\n### Kotlin\n\n```kotlin\ndependencies {\n implementation(\"androidx.resourceinspection:resourceinspection-annotation:1.0.1\")\n}\n```\n\nFor more information about dependencies, see [Add build dependencies](/studio/build/dependencies).\n\nFeedback\n--------\n\nYour feedback helps make Jetpack better. Let us know if you discover new issues or have\nideas for improving this library. Please take a look at the\n[existing issues](https://issuetracker.google.com/issues?q=componentid:1033483%20status:open)\nin this library before you create a new one. You can add your vote to an existing issue by\nclicking the star button.\n\n[Create a new issue](https://issuetracker.google.com/issues/new?component=1033483&template=1565569)\n\nSee the [Issue Tracker documentation](https://developers.google.com/issue-tracker)\nfor more information.\n\nVersion 1.0\n-----------\n\n### Version 1.0.1\n\nJanuary 26, 2022\n\n`androidx.resourceinspection:resourceinspection-annotation:1.0.1` and `androidx.resourceinspection:resourceinspection-processor:1.0.1` are released. [Version 1.0.1 contains these commits.](https://android.googlesource.com/platform/frameworks/support/+log/255d9759ff9495ea552d71b415bf638a02046780..8ae940536431022e180d2b13f8981184dc60fa74/resourceinspection)\n\n**Bug Fixes**\n\n- Added package documentation\n\n### Version 1.0.0\n\nNovember 3, 2021\n\n`androidx.resourceinspection:resourceinspection-annotation:1.0.0` and `androidx.resourceinspection:resourceinspection-processor:1.0.0` are released. [Version 1.0.0 contains these commits.](https://android.googlesource.com/platform/frameworks/support/+log/c38bf8cba2f6d60f9cceb03adcb56ff57f793b27..255d9759ff9495ea552d71b415bf638a02046780/resourceinspection)\n\n**Major features of 1.0.0**\n\n- The ResourceInspection library provides an annotation processor for library developers to surface the attributes of custom views in Android Studio's [Live Layout Inspector](/studio/debug/layout-inspector#4-0-0-live-layout-inspector).\n\n### Version 1.0.0-rc01\n\nOctober 27, 2021\n\n`androidx.resourceinspection:resourceinspection-annotation:1.0.0-rc01` and `androidx.resourceinspection:resourceinspection-processor:1.0.0-rc01` are released. [Version 1.0.0-rc01 contains these commits.](https://android.googlesource.com/platform/frameworks/support/+log/1a3dcfb231517d6104969f17063fcc6c97ba6eeb..c38bf8cba2f6d60f9cceb03adcb56ff57f793b27/resourceinspection)\n\n- No changes since 1.0.0-beta01\n\n### Version 1.0.0-beta01\n\nSeptember 15, 2021\n\n`androidx.resourceinspection:resourceinspection-annotation:1.0.0-beta01` and `androidx.resourceinspection:resourceinspection-processor:1.0.0-beta01` are released. [Version 1.0.0-beta01 contains these commits.](https://android.googlesource.com/platform/frameworks/support/+log/19ae3a88ff0824d615355b492cb56049e16991f2..1a3dcfb231517d6104969f17063fcc6c97ba6eeb/resourceinspection)\n\n**Bug Fixes**\n\n- Fixed crash on non-existent attributes ([I87df0](https://android-review.googlesource.com/#/q/I87df0c0c68f04b32274eaedd65b5a7ab3c56b562))\n- Fixed crash when compiling against an older SDK ([Ie8a1e](https://android-review.googlesource.com/#/q/Ie8a1eafcae62aa98330fc7af89474a32c61faafc))\n- Added validation for int enums and flags ([Ic7ecf](https://android-review.googlesource.com/#/q/Ic7ecf3386c04d133f74b858953d747cacfecfc5a))\n\n### Version 1.0.0-alpha03\n\nJune 30, 2021\n\n`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.](https://android.googlesource.com/platform/frameworks/support/+log/86ff5b4bb956431ec884586ce0aea0127e189ec4..19ae3a88ff0824d615355b492cb56049e16991f2/resourceinspection)\n\n**Bug Fixes**\n\n- Fix a bug in generated code that prevented the Layout Inspector from reading view attributes. ([Ic7507](https://android-review.googlesource.com/#/q/Ic75075f21dafdf5cd12b714eff3a42e0fab17bbc))\n\n### Version 1.0.0-alpha02\n\nJune 2, 2021\n\n`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.](https://android.googlesource.com/platform/frameworks/support/+log/5c42896eb6591b09e3952030fb7ea8d9b8c42713..86ff5b4bb956431ec884586ce0aea0127e189ec4/resourceinspection)\n\n**API Changes**\n\n- Improved AppCompat support ([I2d738](https://android-review.googlesource.com/#/q/I2d7387a017585bcea14a8d8a857b9b60930bc1c5), [b/188446121](https://issuetracker.google.com/issues/188446121))\n\n### Version 1.0.0-alpha01\n\nMarch 24, 2021\n\n`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.](https://android.googlesource.com/platform/frameworks/support/+log/5c42896eb6591b09e3952030fb7ea8d9b8c42713/resourceinspection)\n\n**New Features**\n\nThe Resource Inspection library provides a convenient way for library developers to surface the attributes of custom views in Android Studio's [Live Layout Inspector](/studio/debug/layout-inspector#4-0-0-live-layout-inspector). This initial release is `1.0.0-alpha01`."]]