0 Replies Latest reply on Apr 4, 2017 11:48 AM by nsharony

    fullscreen works only partially on my Android phone

    nsharony

      Hi,

       

      I'm trying to develop a simple Web app which will run on multiple Mobile platforms.
      Based on its simplicity of usage, I chose to use PhoneGap to develop the app.

       

      The app needs to occupy the full screen in Landscape mode.
      Below you can see my very basic config.xml file.

       

      When my app loads, it works fine, occupying the full screen in Landscape mode.
      However, if I click a text field in my app, the keyboard panel appears, but also the status bar appears at the top and I have to swipe it away.
      Even if I get rid of the keyboard panel, the status bar remains until I swipe it away.
      Additionally, if I switch to another app and then return to mine, the status bar is once again displayed.
      This is very annoying. Is there a way to prevent the status bar from appearing while the app is running?

       

      Any help would be greatly appreciated

       

      <?xml version="1.0" encoding="UTF-8"?>
      <widget xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0" versionCode="1" version="1.0.1">

         <name>Tets</name>

         <description>A test app</description>

         <platform name="winphone"/>

         <preference name="phonegap-version" value="cli-6.5.0"/>

         <preference name="orientation" value="landscape"/>

         <preference name="fullscreen" value="true"/>

         <preference name="webviewbounce" value="false"/>

         <preference name="DisallowOverscroll" value="true"/>

         <preference name="disallowOverscroll" value="true"/>

         <preference name="target-device" value="universal"/>

         <preference name="exit-on-suspend" value="false"/>

         <preference name="detect-data-types" value="true"/>

         <preference name="prerendered-icon" value="false"/>

         <preference name="StatusBarOverlaysWebView" value="false"/>

         <preference name="ios-statusbarstyle" value="default"/>

         <preference name="StatusBarStyle" value="default"/>

         <preference name="android-minSdkVersion" value="21"/>

         <preference name="android-targetSdkVersion" value="21"/>

         <preference name="android-installLocation" value="auto"/>

         <preference name="android-build-tool" value="gradle"/>

         <preference name="permissions" value="none"/>

         <platform name="android">

         <icon src="res/icon/android/drawable-ldpi-icon" qualifier="ldpi"/>

         <icon src="res/icon/android/drawable-mdpi-icon" qualifier="mdpi"/>

         <icon src="res/icon/android/drawable-hdpi-icon" qualifier="hdpi"/>

         <icon src="res/icon/android/drawable-xhdpi-icon" qualifier="xhdpi"/>

         <icon src="res/icon/android/drawable-xxhdpi-icon" qualifier="xxhdpi"/>

         <icon src="res/icon/android/drawable-xxxhdpi-icon" qualifier="xxxhdpi"/>

         </platform>

         <platform name="android">

         <splash src="res/screen/android/drawable-port-ldpi-screen" qualifier="ldpi"/>

         <splash src="res/screen/android/drawable-port-mdpi-screen" qualifier="mdpi"/>

         <splash src="res/screen/android/drawable-port-hdpi-screen" qualifier="hdpi"/>

         <splash src="res/screen/android/drawable-port-xhdpi-screen" qualifier="xhdpi"/>

         <splash src="res/screen/android/drawable-port-xxhdpi-screen" qualifier="xxhdpi"/>

         <splash src="res/screen/android/drawable-port-xxxhdpi-screen" qualifier="xxxhdpi"/>

         </platform>

         <access origin="*" subdomains="true"/>

         <allow-intent href="http://*/*"/>

         <allow-intent href="https://*/*"/>

         <allow-intent href="tel:*"/>

         <allow-intent href="sms:*"/>

         <allow-intent href="mailto:*"/>

         <allow-intent href="geo:*"/>

         <platform name="android">

         <allow-intent href="market:*"/>

         </platform>

      </widget>