I want to implement something like ViewPager or ScrollView, but I don't want to use it for some reasons. As I understand, I need to resize the parent layout to the width of N*(width of screen), N is number of pages. How can I do this?I want to implement something like ViewPager or