Android Market/Google Music seem to be able to have a gap of some sort between the different fragments that are contained in the ViewPager
.
Any idea how this is done? Adding margin/padding to the actual fragment view doesn't work, because the view still needs to occupy the entire width of the screen. The 'gap' is only visible when swiping the ViewPager.
See Question&Answers more detail:os