title: Adding activity re-sizing feature
body: <p>I have a activity which I want to resize based on user event.I tried <code>getWindow.setLayout()</code> inside <code>onTouchListener</code> but the resizing is not smooth at all.Please provide some suggestions.</p>