I am trying to try an online tutorial and want to put a tab in the xml layout. I have changes: from Activity to TabActivity. In the xml layout design view, I have the following.
Error during the process after inflation: TabHost requires TabWidget with identifier "android: id / tabs". View found with id 'tabs' is 'com.android.layoutlib.bridge.MockView' Could not find the following classes:
I was looking for a solution, but none of them were fixed, but I found it in another language. I tried using google translator but not very useful.
Someone can get the tab function.
I am using Android 2.2 Api and developing using the Eclipse IDE
source share