Generating a mapping from layout.xml files to Activities using them