I use Eclipse to study some open source projects on Android. I keep seeing R.id.xxx or R.layout.xxx in the Java source code. And I see that they are built from XML files in the /res folder.
But the problem is that there are hundreds of XML files that can contain the ID that I want to see. Is there any method to see this reference rather than look through every XML file manually?
Thanks in advance.
just hold the ctrl key and place the mouse over the R.id.xxx or R.layout.xxxxx. Eclipse will show the option as
By clicking open Declaration in layout/xxx.xml it will leads to the layout file.. if you choose open Declaration, it will goes to declartion part in R.java
i hope it will helpful to you..