320x100
[상황]
안드로이드 스튜디오에서 버튼을 만들었지만 경고가 확인됨
[참고 플랫폼]
더보기
1. Android Studio Bumblebee | 2021.1.1 Patch 2 | Runtime version: 11.0.11
[에러 내용]
Duplicate speakable text present
This clickable item's speakable text: "설정"
is identical to that of 2 other item(s).
Learn more at https://support.google.com/accessibility/android/answer/7102513
[해결 방법]
"설정" 이라는 텍스트가 중복으로 사용되고 있어 경고문이 확인된다
사용하지 않을 수는 없으니
이미지에 나오는 Ignore를 클릭해 자동으로 걸어준다.
이렇게 하면 layout.xml 해당 태그에 아래 문구가 추가됨
tools:ignore="DuplicateSpeakableTextCheck"
320x100