title: Select a portion of image in ImageView and retrieve the end points of selected rectangle
body: <p>I need to drag and select a portion of an image set in an <code>ImageView</code> and retrieve the end points of the selected rectangle without causing any modifications (such as crop).</p>
  
  <p>So far all I've been able to do is figure out the co-ordinates of the point where the user taps the screen.</p>
  
  <pre><code>ImageView imageView = (ImageView) findViewById(R.id.imageView);
  imageView.setOnTouchListener(new View.OnTouchListener() {
      @Override
      public boolean onTouch(View v, MotionEvent event) {
          //Simply displays a toast
          Utilities.displayToast(getApplicationContext(), "Touch coordinates : " +
                  String.valueOf(event.getX()) + "x" + String.valueOf(event.getY())); 
          return true;
      }
  });
  </code></pre>
  
  <p>But this is far from where I want to be. And I really haven't been able to find anything related on StackOverFlow/Google. </p>
  
  <p>How can I implement it?</p>