I was trying to work out with multiple layout using some online tutorials. The thing is my program was building and compiling correctly as long as there was only one XML fil
There is probably an issue with the layout files, correct it and the auto generated class will appear.