xmlns:tools="http://schemas.android.com/tools"
tools:ignore
무시하고 넘어갈 워닝을 정의한다.
<!-- architecture-samples.git > todo-mvvm-live > AndroidManifest.xml 중 -->
<activity
android:name="com.example.android.architecture.blueprints.todoapp.statistics.StatisticsActivity"
android:parentActivityName=".tasks.TasksActivity"
tools:ignore="UnusedAttribute">
tools:ignore="UnusedAttribute" <!-- 사용하지 않는 설정들에 대한 워닝을 무시한다. -->
.참고
https://gun0912.tistory.com/73
[안드로이드/Android]tools attribute 유용하게 활용하기(xmlns:tools="http://schemas.android.com/tools")
안드로이드를 개발하면서 프로젝트를 새로 만들거나 xml파일에서 우리가 자주 만나는 녀석이 있습니다. xmlns:tools="http://schemas.android.com/tools" xml에 tools:context="xxx" 라는 걸 수도 없이 보아 왔지..
gun0912.tistory.com
반응형
'Platform > Android' 카테고리의 다른 글
[Error] Could not find method dependencyResolutionManagement() for arguments ... (0) | 2022.02.22 |
---|---|
[AndroidStudio] 안드로이드스튜디오 버전 확인 (0) | 2022.02.21 |
[TextView] 텍스트뷰에 밑줄 긋는 방법 (0) | 2022.02.11 |
[Retrofit] url 연결 (0) | 2021.12.28 |
[build.gradle] 변수 추가해서 Java 에서 사용하기 (0) | 2021.12.24 |