title: Zoom, Extend dimensions of Cavans in Android
body: <p>I do not know how to explain my problem.
  I have a View of figures created with canvas, and I want to zoom and extend the canvas if one of the figures is taken to the edge of the canvas.
  I'll leave some images to express myself better.</p>
  <p><a href="https://i.stack.imgur.com/a0SXD.png" rel="nofollow noreferrer">If I add a new figure, it expands the canvas (color light blue) and I can move the canvas</a></p>
  <p><a href="https://i.stack.imgur.com/qWDwp.png" rel="nofollow noreferrer">and I zoom the canvas</a></p>