I am using a ViewPager with a PageAdapter (from the compatibility pack v4) to swipe among a horizontal list of boxes. The problem is that m
ViewPager
PageAdapter
Code:
@Override public float getPageWidth(int position) { float nbPages = 2; // You could display partial pages using a float value return (1 / nbPages); }