Last active
December 22, 2016 13:02
-
-
Save shangeethsivan/ef75a9f8fbacdcabb7b339e13c46fd95 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
viewpager.setPageMargin(30); | |
/** | |
*Clip to Padding - Sets whether this ViewGroup will clip its children to | |
*its padding and resize (but not clip) any EdgeEffect to the padded region, if padding is present. | |
*/ | |
viewpager.setClipToPadding(false); | |
viewpager.setPadding(120, 0, 120, 0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment