I am trying to create a tab view with will switch to a different content view by Id. Here is my tab activity:
tab activity
public class TabViews extends TabA
Your xml should have something like ,
examples: http://www.androidhive.info/2011/08/android-tab-layout-tutorial/ http://www.codeproject.com/Articles/107693/Tabbed-Applications-in-Android