title: How to override back button press when virtual keyboard is shown?
body: <p>In my app when the virtual keyboard appears it is pushes up my menu from the bottom, and it is not so nice and it is also cover some of the content so i just hide it when the virtual keyboards shows up.</p>
  
  <p>But when i press back to hide the keyboard, i want to show my menu again, but nothing happens, except the virtual keyboard disappears like default.</p>
  
  <p>I tried:</p>
  
  <pre><code>        @Override
          public void onBackPressed() 
          {
              LinearLayout menuLayout = (LinearLayout)findViewById(R.id.menuLayout);
              menuLayout.setVisibility(View.VISIBLE);
  
              super.onBackPressed();
          }
  </code></pre>
  
  <p>also tried WITHOUT:</p>
  
  <pre><code>super.onBackPressed();
  </code></pre>
  
  <p>None of them worked.</p>
  
  <p>Any suggestions ?</p>