Android Studio의 layout의 Preview 창에서 아래와 같이 한글이 깨질 때 조치방법
한글이 지원되지 않는 font가 설정이 되어 있어서 한글이 깨지게 된다.
아래 경로에 있는 fonts.xml을 열어보면 한글이 지원되지 않는 font가 설정이 되어 있는 것을 확인 할 수 있다.
/Applications/Android Studio.app/Contents/plugins/android/lib/layoutlib/data/fonts/fonts.xml
NotoSansCJK-Regular.ttc -> NanumGothic.ttf로 변경을 하게 되면 한글이 나오는 것을 확인할 수 있다.
'DEBUG > Tools' 카테고리의 다른 글
local에 저장되어 있는 git계정 clear 하기 (0) | 2017.03.03 |
---|---|
Android Butter Knife 적용하기 (0) | 2017.02.04 |
Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! (0) | 2017.01.11 |
댓글