I have followed this tutorial (http://developer.android.com/resources/tutorials/views/hello-tabwidget.html) and completed the task and it all works fine.
However now I am not sure how can I add diffrent layouts under each tabs? should add the layout to the main.xml and somehow call the layout from the calasses I have created for each tabs?
I would highly appreciate if can someone advice me on that.
For example I want to add a table layout under one of the tabs, how can I do that?
Many thanks
See This example it is usefull Example of the TabLayout
modified this class
Androidactivity.javaadd this
xmlfile inRes/layout/androidtab.xml