0

How to fix the tab at the bottom it moves up when I am trying to use the search (EditText) in on of my fragments

I want the tabs to hide behind the keypad.

qwertygamer
  • 130
  • 8

1 Answers1

1

you can hide your tablayout when keyboard is visible

if(keyboardVisible)
      tabHost.setVisibility( View.GONE );    
 else
      tabHost.setVisibility( View.VISIBLE );

refer here to detect keyboard visibility

Community
  • 1
  • 1
SaravInfern
  • 3,338
  • 1
  • 20
  • 44