Set TouchListener to root view without overriding touchevents of child view?
问题 My Activity consists of one Framelayout (named fragment_content) where I replace/add different Fragments. Now I set a TouchListener to this fragment_content to implement a "Two-Finger-Swipe" (-> just a swipe motion with two fingers). The Problem I have is that as soon my Fragment extends from a ListFragment the TouchListener of fragment_content will be ignored. I know I can set a touchlistener to the listview, but than I have to implement the listview settings (-> scrolling, listItemClick).