I am developing an app where I need to hide the TabHost.The reason I need to remove it is that when you open the keyboard, it “sits” on the top of the keyboard.I have managed to access the TabHost using this code:
TabSample activity = (TabSample) this.getParent();
final TabHost tabhost = activity.getTabHost();
The problem is that when I try to hide it using:
tabhost.setVisibility(View.INVISIBLE);
It also makes the current Activity invisible so you have to type blind. I need to find a way to make the TabHost invisible without making the current Activity invisible, or make the the be “behind” the keyboard.
The TabHost is stock.
Have you tried using
in AndroidManifest.xml