Android TabWidget example is not working by default.

Android development documentation describes how to use tabs in Android app. Here is the document “Tab Layout“.

But the problem is, that if you would try to use the tutorial as is, then you will see that app is crashing at start.
I found a resolution of the problem here.

Just add the following code to Manifest.xml file:

It is used to describe other activities in the project.

Leave a Reply

%d bloggers like this: