Vote count: 0 I have a ListView where I add a Google Map MapView into the header view, below is the code on how I do that: vListViewTrips.addHeaderView(vMapHeaderView, null, false); The map is shown and works but the map does not handle any gestures when its being touched even though all gestures are anebled by: googleMap.getUiSettings().setAllGesturesEnabled(true); Based on some searches that I did I tried to extend MapView and override the public boolean dispatchTouchEvent(final MotionEvent motionEvent) but still the onTouchEvent of the MapView is never called. Here is the code: @Override public boolean dispatchTouchEvent(final MotionEvent motionEvent) { System.out.println("asfdasfdgsafd")...
ادامه مطلب