0

I have a group of view, which form a fragment. In this group there viewPager. FrameLayout, which is the fragment appears, lies in scrollview. There was a problem: for some reason viewPager in scrolling is not displayed. All elements of the group displayed, but viewPager is not. What could be the reason?

user1854307
  • 580
  • 4
  • 8
  • 21
  • It helped me http://stackoverflow.com/questions/7381360/is-it-possible-to-have-a-viewpager-inside-of-a-scrollview?answertab=votes#tab-top – user1854307 Mar 18 '15 at 20:47

1 Answers1

2

Just write in your XML view ..android:fillViewport="true" it'll worked for me

Vishal Patel
  • 2,931
  • 3
  • 24
  • 60