I am using 3 ViewPagers on a single LinearLayout. and i want to set the height of ViewPager to wrap_content dynamically.
My fragment is loaded in ViewPager dynamically also. So on page change if the fragment's height is more than the viewpager's height then the viewpager's height should be automatically increased.
Layout is like
Please suggest what to do?