Platform/Android

[AndroidManifest.xml] tools: attributes

개랭갱깽스타 2022. 2. 15. 14:57
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

 

반응형