I\'m developing an Android 3.1. and above application.
On one activity I generate its layout dynamically. I\'m using formdetail.xml as contentview:<
I was also having the same issue with my app layout.
I don't know how and it is right way or not, but this get resolved after setting background attribute to both layouts.
Now there is no warning and working perfect. Hope it will also work for you.