I have been recently hired to maintain a very large program (only two Activities, about a hundred Fragments, and several hundred layouts).
There is also the Developer Assistant app for Android which can inspect a view hierarchy at runtime and then display the most probable layout names visible on the screen. The heuristic is involved so it won't work 100% accurate, but still can be helpful and works completely offline (a disclosure: I made this app).
An example: