title: Crop to fixed portion of ImageView on Android
body: <p><img src="https://i.stack.imgur.com/kvGU5.png" alt="i want to crop the bitmap that is in the square" /></p>
  <p>How do i get a part of a <code>bitmap</code> (which is in a <code>imageview</code>) saved as shown in the picture. All i need to do is to <code>crop a particular image</code> using <code>(x,y)</code> coordinates. all that i have is <code>x,y coordinates</code> and nothing else to select the <code>cropped area</code>. Between, user doesnt select the <code>crop area</code>. So its enough if its <code>static</code>. <code>yellow part is an imageview(not the whole activity)</code></p>