Where can I got it got to implement in my project to 开发者_如何学运维generate unique IDs in the same ways.
When your project is build the R.java class is generated and it gives unique ID to every resource. You shouldn't edit that class. If Eclipse doesn't create R.java file for your project try cleaning it by going to Project > Clean
I hope this answers your question.
精彩评论