I have a ViewPager and on touch of its tabstrip, I'm moving the whole ViewPager with the touch movement. At this point I want the ViewPager to adjust its height accordingly. I have tried:
vPager.setTranslationY(movableY);
vPager.getLayoutParams().height+=movableY;
vPager.requestLayout();
(movableY
is the movement required in Y direction)
But results aren't satisfactory.