Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When adding multiple view with scrollview,it cant be scrollable. #8

Closed
FajarKhan opened this issue Jul 7, 2017 · 3 comments
Closed

Comments

@FajarKhan
Copy link

No description provided.

@wajahatkarim3
Copy link
Owner

Well, that's because you might have

app:flipOnTouch="true"

enabled in your xml layouts. Set this flipOnTouch attribute to false, and then your views will be scrollable. But then you will have to flip it yourself on any button click etc.

@FajarKhan
Copy link
Author

FajarKhan commented Jul 8, 2017

yes I have app:flipOnTouch="true in XML . so I just remove it in each view then do it programically? I want to flip when user click on it as well as it should be scrollable? This is possible?

However is it possible to flip one item per clicks?

@wajahatkarim3
Copy link
Owner

Yes. It could be possible. You have to add touch event listener and manually detect the difference in scrolling and touching, and programmatically flipping the view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants