摘要: android项目中res目录下的文件含义各不相同主要有两种方式引用它们 例子:在string.xml中定义一个<string name="hello">Hello Word</string> 1,在代码中通过R.文件名.ID(键)获取对资源的引用,例如对上面例子的字符串的引用R.string.he 阅读全文
posted @ 2016-05-05 09:49 名扬博客 阅读(1768) 评论(0) 推荐(0)