Text in the ViewPager does not move. And the fragments are moving. The task is such that it is necessary to arrange the fragments in such a way that the ASD text is above the TEXT. In all fragments.
Of course, you can calculate and set values using DP. But the problem with specifying static values is that if you run it on a different layout, it looks awful and ASD fits on TEXT.
Using ReleativeLayout or ConstaintLayout, you can avoid this if the View components are in the same XML layout. What to do in this case?
Any ideas?
PS Type suggestions to install all VIew in one layout and after changing the text will not work, you need an animation ViewPager

ViewPagerheight of the whole page, but to make ASD below the text does not fit? Is there any content above it too? - eugeneek