阅读背景:

为什么要从外部资源文件引用字符串而不是将其硬编码到Android XML布局?

来源:互联网 

I keep getting warnings in Eclipse for hard-coding strings in my Android XML layout, but I think it makes more sense than putting everything in a string resource file and referencing it from there. I'm only going to use the said strings for that Activity anyway, and never again.I keep getting warnings in Eclipse for hard-cod




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: