Bo Z
Bo Z

Reputation: 2607

How to figure out where layout uses in project?

How I can figure out in which class the particular resource file (layout/menu/ etc) called? For example in class you could just click ctrl+left click to follow the link what is the same way with layouts?

Upvotes: 2

Views: 56

Answers (1)

Tamir Abutbul
Tamir Abutbul

Reputation: 7661

If you are using android studio you can press alt + f7 / right click on your file + find usage and get this image:

enter image description here

You can see that activity_main is being used inside MainActivity class.

Upvotes: 2

Related Questions