 <p>Try below solution to achieve what you want. </p> <pre><code>viewPager.setClipToPadding(false); // set padding manually, the more you set the padding the more you see of prev &amp; next page viewPager.setPadding(40, 0, 40, 0); // sets a margin b/w individual pages to ensure that there is a gap b/w them viewPager.setPageMargin(20); </code></pre> <p>Whatever padding you want on top and bottom specify in xml file</p> <pre><code>android:paddingTop="30dp" android:paddingBottom="50dp" </code></pre>