代码改变世界

解决 warning: found plain 'id' attribute; did you mean the new 'android:id' name? 问题

2011-04-01 15:52  闫妍  阅读(237)  评论(0编辑  收藏  举报

因为jdk采用了1.5,所以,必须在设置id属性的时候,设置成为android:id,而不是id,这样就可以避免了该错误 。