How to shift a linear layout when soft keyboard is ON
<p>I made a similar dialog box (xml layout), that exists in a linear layout. and i want this linear layout to be shifted when soft keyboard is ON.</p>

<p><img src="http://i.stack.imgur.com/y2XFW.png" alt="LinearLayout shifted when soft keyboard is ON">
EDIT: I want it to appear just like the WhatsApp dialog box is appearing in the image.</p>

<p>SOLVED: </p>

<p>The problem was because the PARENT was RelativeLayout ( which was occupying the entire screen ) , therefore, after adding what @Enigma suggested below in the manifest file, and removing the parent layout which is relative layout and making LinearLayout containing the dialog box only, the parent. </p>
