title: How to create a resizable rectangle with user touch events on Android?
body: <p>I want to create a rectangular shape that will be resized with the touches of the user. Below image is a good example of what i want to do:</p>
  
  <p><img src="https://i.stack.imgur.com/cajl4.jpg" alt="Resizable Rectangle"></p>
  
  <p>Is there any example like that? What do I need to study to implement this?</p>
  
  <p>Thanks in advance,</p>