I want to get fling gesture detection working in my Android application. What I have is a GridLayout that contains 9 ImageViews. The source can be found here: Romain Guys's Grid Layout. That file I take is from Romain Guy's Photostream application and has only been slightly adapted. For the simple click situation I need only set the onClickListener for each ImageView I add to be the main activity

