Resources.getSystem() 与 getResources()区别

 

 

参考:

  http://stackoverflow.com/questions/8633539/resources-getsystem-vs-getresources

 

相同:  

  都是取得 Resources 对象然后加载相应的资源。

区别:

  它们使用的位置不同。Resources.getSystem() 只能加载系统资源,它并不能加载当前应用的资源,如边距、方向等。

posted @ 2016-07-15 21:23  f9q  阅读(566)  评论(0编辑  收藏  举报