ViewPager and longclick
问题 I have a layout that is over top of a viewpager. The viewpager is functioning as a dynamically changing background. Upon a long click of the viewpager (long clicking the background), the foreground elements should disappear. I put a long click listener on the viewpager, but it doesn't respond to this out of the box. This linked answer seems to touch on the subject, but I'm not sure how to implement it, help? https://stackoverflow.com/a/11303508/727429 I'm also experimenting with other UX