레이아웃 안에 버튼 생성시 Hardcoded text 라는 경고아이콘이 자꾸 뜨는데
해결책을 모르겠습니다. 최근에 안드로이드 스튜디오를 설치했고 업데이트도 다 되어있는 상태인데
원인을 모르겠습니다.
Hardcoded text
Hardcoded string "Button", should use @string resource
Hardcoding text attributes directly in layout files is bad for several reasons:
When creating configuration variations (for example for landscape or portrait) you have to repeat
the actual text (and keep it up to date when making changes)
The application cannot be translated to other languages by just adding new translations for existing
string resources.
There are quickfixes to automatically extract this hardcoded string into a resource lookup.
Issue id : HardcodedText
comment