- Eclipse version: Indigo Service Release 2
- ADT version: 18.0.0.v201203301601-306762
I have the following code in Eclipse
View view = inflater.inflate(R.layout.somelayoutfile, parent, false);
I want to perform some action, like CTRL+Click on “R.layout.somelayoutfile” and it jump to that xml file. Instead it takes me to “R.java.”
According to this the Android Documentation this should be supported, but it doesn’t work. Does anyone know why, and/or how to enable this feature?
If you hold Ctrl with the pointer over the resource name (somelayoutfile in your example) then a menu should appear, with two options:
That isn’t working for you? Or you want the default (direct click on the resource name) to be the second option?