I want to implement a viewpager like the one below
I found this example Cover Flow feature using view pager android but it only inflates the image to the left and does't show the other two to its side.
I want to implement a viewpager like the one below
I found this example Cover Flow feature using view pager android but it only inflates the image to the left and does't show the other two to its side.
Try this
viewpager.setClipToPadding(false);
viewpager.setPadding(left,0,right,0);
To set margin between two pages
viewpager.setPageMargin(10);