I am developing an android application with home page same as facebook app. I have inflated a layout to my home page by using the following code.
View app = inflater.inflate(R.layout.app, null);
I have a tabhost in the layout 'app'. The home page is extending activity. When I run the application the app is throwing error
'Your content must have a TabHost whose id attribute is 'android.R.id.tabhost''
How can I avoid this error?