Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android keyboard puts tab bar on top

I have a little problem when I open keyboard in my application. I have a tab bar which is on bottom of page and in some situations, not always when I click on edit text and keyboard shows up, it's moving my tab bar on top of it. Here is an example :

enter image description here

So my question is : Is there any way to disable this. I want my tab bar to stay hidden under keyboard when it shows up.

Thanks in advance!

like image 401
Android-Droid Avatar asked Jan 16 '12 14:01

Android-Droid


1 Answers

add these properties for your activity in manifest file:

android:windowSoftInputMode="stateHidden|adjustResize|adjustPan"

Hope this helps

like image 128
Chaitu Avatar answered Oct 01 '22 14:10

Chaitu