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?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
try to use an horizontal scrollView and set your layout width by pixel like this
or
And then add your layout to the scrollView.