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:<
That is just an warning from lint. Lint doesn't know you would later append views to this layout and it will warn you that you added an unnecessary extra view(increasing your layout depth).
You should just ignore the warning(If it really bothers you here is a link on how to remove warnings from lint).