I have been recently hired to maintain a very large program (only two Activities, about a hundred Fragments, and several hundred layouts).
Possible "Android/sdk/tools/uiautomatorviewer" can help you. It can take dump of current screen from device and shows you views/layouts with their details - also with id's