android导航条与viewpager联动
package net.xinhuamm.horizontalscroll.simple;
import net.xinhuamm.horizontalscroll.view.PagerSlidingTabView;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import android.support.v4.view.ViewPager;
public class HsViewActivity extends FragmentActivity {