January 13th, 2012, 04:26 PM
|
#6 (permalink)
|
|
Premium Member
Join Date: Oct 2011
Location: Sydney, Australia
Posts: 193
Device(s): Galaxy Nexus GSM
Thanks: 2
Thanked 37 Times in 33 Posts
|
Eclipse will rebuild R.java as part of building your app. If you change a layout, build your app and R.java will change.
That's an important point. Never manually change R.java. The whole file is recreated when your app is built. Any manual changes will be lost.
Also try to treat R.java as opaque. Don't concern yourself with its values. If something's wrong with the values in R.java, the problem is always elsewhere.
(And please post plain text code. The syntax highlighting your using is making the code harder to read, not easier.)
|
|
|
Last edited by jiminaus; January 13th, 2012 at 04:29 PM.
|
|