This project shows how you can create a view and increase/decrease the size by dragging in the corners.