1 Reply Latest reply on Jan 7, 2017 12:09 PM by kerrishotts

    How to get navigation bar height in Cordova/phonegap

    masods43434963

      Hi There,

      I am working on a phonegap project. In android I would like to get the height of the navigation bar.How can I achieve this?

       

      Screenshot_3.jpg

       

      Once keyboard is visible, textbox is not visible anymore. Reason is height calculation is done based on screen height minus keyboard height. But the red marked one is the android navigation bar, which is almost same as the height of the textbox and hence textbox is coming behind keyboard. If I can get the height of the navigation bar. I can do adjustment and make textbox visible.