Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

android keyboard moves tabs

So I have an Ionic/Phonegap app that I just built using ionic start myApp tabs then I added an input on one of the views. When I focus the input using an android emulator or device, the keyboard come up but so do the tabs. Do I have to explicitly hide the tabs whenever the keyboard is active on android? I would think this would be a common issue but I haven't seen any complaints. Do I just have a bad project or something?

like image 617
jensengar Avatar asked Aug 28 '14 17:08

jensengar


1 Answers

You can change the activity properties in the manifest.xml

<activity android:windowSoftInputMode="adjustPan"> </activity>

Look at the example: http://rickluna.com/wp/2014/03/phonegap-3-adjustpan-with-fullscreen-theme/

like image 136
malcubierre Avatar answered Sep 19 '22 23:09

malcubierre