Do externalized strings need to be in strings.xml?

半世苍凉 提交于 2019-12-11 01:58:38

问题


When I right-click on my project in Eclipse, and select "Externalize Strings" the wizard ends up putting the strings in a new "messges.properties" file; shouldn't it go in /res/values/strings.xml, or does it matter?


回答1:


"Externalize Strings" is a standard functionality that is implemented in eclipse to work with java. If you want to extract Android string you should simply select the string, press ctrl+1 and in the appeared menu choose "Extract String" with the Android picture near this option.



来源:https://stackoverflow.com/questions/8637896/do-externalized-strings-need-to-be-in-strings-xml

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!