Software Archive
Read-only legacy content
17061 Discussions

Android app preview status bar issue

Boris_B_1
Novice
295 Views

Hello,

I'm developing an application and have some problems with status bar on my device. Status bar appears when I tap input field in my app to put some text in it. Is it possible to disable appearance of status bar when I focus on some input fields in my app? I want to disable it because status bar blocks significant part of top nav menu of my app by itself. Or I want to get an actual height of the status bar to increase top margin of a body. Or may be there is a way to make a body of an app responsive?

status-bar_0.jpg

I added one line of code that hides status bar and it works only in the emulator but not in the app preview.

$('.header-search-box-input input').focus();
intel.xdk.device.hideStatusBar();

Could somebody help me please? :)

0 Kudos
1 Reply
PaulF_IntelCorp
Employee
295 Views

Do not use those intel.xdk plugins, they have all been deprecated and most have been retired. There are equivalent plugins for most in the Cordova plugin universe. Please see this doc page for some help > https://software.intel.com/en-us/xdk/docs/intel-xdk-api-cordova-plugin-methods-properties-events

0 Kudos
Reply