title: how to hide the footer fragment when keyboard appear
body: <p>I have footer bar in my activity. I used fragment for footer bar. here is screen shot. <img src="https://i.stack.imgur.com/ceRst.png" alt="screen_1">. When I add the text into the <code>EditText</code>, the keyboard show like this. <img src="https://i.stack.imgur.com/kutsq.png" alt="screen_2">. I would like to hide the footer when the keyboard appear. I used <code>android:windowSoftInputMode="adjustPan"</code> in activity. I would like to know any suggestion.</p>
  
  <p>Thanks.</p>