When I am trying to add a TabHost using
RightClick > New > Android XML > Select Root Element :TabHost
It shows tabhost need a tabwidget and frame layout.
Actually tabhost is the root. How I can have a tabwidget and frame layout before ?
Is that fault of eclipse or mine ?
I was able to create layout with root TabHost as you described on eclipse 3.7.1 with no errors. I belive as workaround you can create layout with LinearLayout as root and then either put TabHost inside it or switch LinearLayout with TabHost.
edit: