1

Adding tabs below the action bar

view story
linux-howto

http://stackoverflow.com – In my android application I have implemented a tab layout with swipeable views. Here is my MainActivity class: import android.app.ActionBar; import android.app.ActionBar.Tab; import android.app.FragmentTransaction; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import android.support.v4.view.ViewPager; public class CustomerComplainActivity extends FragmentActivity implements ActionBar.TabListener { private ViewPager viewPager; private TabsPagerAdapter mAdapter; private ActionBar actionBar; private String[] tabs = { "New Complain", "Previous Complains" }; @Overri (HowTos)