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

如何修改触碰范围 #65

Open
huaihsuanbusiness opened this issue Mar 13, 2020 · 0 comments
Open

如何修改触碰范围 #65

huaihsuanbusiness opened this issue Mar 13, 2020 · 0 comments

Comments

@huaihsuanbusiness
Copy link

问题描述

请描述您遇到的问题

  • 预期行为:Activity是上方一个播放器,下方剩下的区域是Fragment,就跟大部分视频软件一样。预期状况是只有在下方Fragment区域触碰右滑才有反应,在上方播放器则不反应(避免与播放器快进快退手势冲突),在下方Fragment区域往右滑动时,一样整个Activity往右滑掉关闭。如何才能覆写滑动的触碰范围?

  • 实际行为:使用的是ActivitySlidingBackConsumer,不做任何处理的话就是整面触碰都能滑动,尝试了setHeight,只是似乎没有用

当前使用的SmartSwipe版本号:

例如: 1.1.2

image

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

1 participant