0

Is it possible to setup FragmentPagerAdapter in a way, that I can see full 1st item on a screen and a part of a second item on the right? So that user knows that she/he has to swipe to show the next one item?

UPDATE:

Like this:Fragment A doesn't fill whole screen, Fragment B is being seen

Fragment A doesn't fill whole screen, Fragment B is being seen, a part of it. So user knows that sth is there and he/she has to swipe to see it

Tom
  • 1,203
  • 3
  • 15
  • 35
  • What do you mean by see? So the view on the right is "overlapping" the current view, or the current view doesn't go to the edge of the screen, and you can just skim the next view? – Ibrahim Yildirim Jul 25 '14 at 18:02
  • Fragment A doesn't fill whole screen, Fragment B is being seen, a part of it. So user knows that sth is there and he/she has to swipe to see it – Tom Jul 26 '14 at 08:22

1 Answers1

0

You should have a look at this: ViewPager-with-FragmentPagerAdapter

Thomas S.E.
  • 1,528
  • 16
  • 28
  • Found similar answer some time ago and totally forgot about this question. This works too, thanks. – Tom Sep 16 '14 at 13:19