https://devuryu.tistory.com/201



strings.xml 파일에 특수문자 넣는 방법

참고 : https://blog.naver.com/whdals0/220893277155



저는 member_new_title 이라는 String 리소스에 Apostrophe 를 넣고 싶었습니다. 해당 특수문자의 요소이름(') or 요소번호(') 인데 넣어도 해당 문자가 보이지 않았습니다. 그래서 위의 블로그에 적힌 글을 참고했습니다. 일반적으로는 & 만 해줘도 & 나오는데 ' 의 경우는 보이지가 않았는데, 앞에 \ 를 붙혀주니 보입니다.

<string name="member_new_title">Enter new member\&apos;s info</string>


그런데.... 굳이 저렇게 안해도 apostrophe 는 \' 로 표현해주셔도 됩니다.

\'

<string name="member_new_title">Enter new member\'s info</string>



출처: https://devuryu.tistory.com/201 [대부류 - [Dev u Ryu]]