title: Hide only bottom action bar Android
body: <p>Currently, I have a split action bar, and there is an edit text near the bottom of the screen. </p>
  
  <p>When I click on the edit text, the keyboard shows up, but the bottom action bar ALSO shows up on top of the keyboard, making it cluttered. Here is what it looks like:</p>
  
  <p><img src="https://i.stack.imgur.com/XUcdK.png" alt="enter image description here"></p>
  
  <p>How can I hide only the bottom action bar when I click on edit text?</p>
  
  <p>Here is my code:</p>
  
  <pre><code>@Override
  public boolean onCreateOptionsMenu(Menu menu) {
      // TODO Auto-generated method stub
  
         //bottom action bar
      getMenuInflater().inflate(R.menu.defaultbottom_tabs, menu);
  
      setActionBar();
      return true;
  }
  
  
      // custom layout top action bar
  private void setActionBar() {
      ActionBar actionBar = getActionBar();
      actionBar.setDisplayShowHomeEnabled(false);
  
      // displaying custom ActionBar
      View mActionBarView = getLayoutInflater().inflate(R.layout.home_top,null);
      actionBar.setCustomView(mActionBarView);
      actionBar.setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM);
  
  }
  </code></pre>