1

Setting up ViewPager in tab fragment

view story
linux-howto

http://stackoverflow.com – I'm having trouble setting up a ViewPager in android ActionBar Tabs. I'm new to developing apps and try to get everything work by trial-and-error, but this one is quite difficult. What I want to have Two actionbar tabs each conatinig a ViewPager with some fragments. What I did so far MainActivity: public class MainActivity extends FragmentActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); // load ActionBar ActionBar actionBar = getActionBar(); (HowTos)