In my layout xml file, I have included other layout xml file (each with a different android id).
When talking about include you either have an id on the root view inside the included layout file or on the include line itself and not on both. For example:
The above example is wrong because technically you have two id's declared for the same layout. So what you have to do is pick which element will have the id.