title: Push up content when clicking in edit text
body: <p>I have searched everywhere for a solution to my problem but cannot find a answer. Here's the problem. </p>
  
  <p>I have a layout that looks like this</p>
  
  <p><img src="https://i.stack.imgur.com/vhd9z.png" alt="Image is here"></p>
  
  <p>Now when I click in the edit text(search bar) i want the following to happen</p>
  
  <p><img src="https://i.stack.imgur.com/hInEH.png" alt="Image is here"></p>
  
  <p>The soft keyboard basically needs to push up the whole screens content so that the search bar is at the top and its listview is beneath it so that when the content is searched the results are displayed. I have tried setting <code>android:windowSoftInputMode="adjustPan"</code> to the <code>Activity</code> in the manifest but this did not work. I set a scroll view as the main container in the main layout that contains the fragments but that also did not work. I have tried adding the edit text(search bar) as a header to the list view but this also did not work. Every time the keyboard pushed up the edit text but covered the list view. Is there any way to make this work?</p>