I've been updating an Android app today which so far had a single `TableLayout`-based `View`. Now, I'd like to duplicate that `View` with another set of backing data, and use horizontal swiping to switch between both. At some point I'd also like to add a third "page" with a different TableLayout.

I haven't really found any good ways to get this going. I've been looking at <http://developer.android.com/training/implementing-navigation/lateral.html>, and I actually copied the code fragment for the Tabs Pattern with `NAVIGATION_MODE_TABS`. That results in a little dropdown widget being added to the `View` title in the action bar, but clicking it doesn't show the tabs I set up (with `actionBar.addTab()`). I'm also not sure how to set up the view (XML) code to stick the `TableLayout`s in there.

I should mention that I don't have to care for pre-4.0 Android for this, so compatibility is not (much of) an issue.