image fragment: mention that image matrix touch handler overrides context menus (because of ontouch listener)

This commit is contained in:
Andrew Dolgov 2017-06-04 07:23:30 +03:00
parent b92b49e492
commit 1102e522f1

View File

@ -38,6 +38,7 @@ public class GalleryImageFragment extends GalleryBaseFragment {
ImageView imgView = (ImageView) view.findViewById(R.id.flavor_image); ImageView imgView = (ImageView) view.findViewById(R.id.flavor_image);
// TODO: ImageMatrixTouchHandler doesn't like context menus
ImageMatrixTouchHandler touchHandler = new ImageMatrixTouchHandler(view.getContext()); ImageMatrixTouchHandler touchHandler = new ImageMatrixTouchHandler(view.getContext());
imgView.setOnTouchListener(touchHandler); imgView.setOnTouchListener(touchHandler);