Skip to main content
Inspiring
August 16, 2016
Question

Air 23 SDK - status bar appears when showing soft keyboard

  • August 16, 2016
  • 14 replies
  • 13058 views

Our app is fullscreen, but when compiling the app with Air SDK v23, the status bar pops in when the soft keyboard opens. It stays onscreen after the soft keyboard is dismissed, until the user swipes it away. Is this intended behavior? Can it be disabled? (Edit: This is an Android 6 device)

This topic has been closed for replies.

14 replies

Participating Frequently
December 17, 2018

We are experiencing issues with several devices, one of them being Pixel XL 2.

Creating blank project and setting <fullscreen>true</fullscreen> in application descriptor does not actually set app to fullscreen, because navigation bar is still visible. I think it's getting set as SYSTEM_UI_FLAG_FULLSCREEN

What helps is running this native code Which sets SYSTEM_UI_FLAG_IMMERSIVE_STICKY

private void hideSystemUI() {

  View decorView = getWindow().getDecorView();
   decorView.setSystemUiVisibility(

  View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY
   | View.SYSTEM_UI_FLAG_LAYOUT_STABLE
   | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
   | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
   | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION
   | View.SYSTEM_UI_FLAG_FULLSCREEN);
}

It would be nice if access to this would be somehow exposed via AIR APIs.

Adobe Employee
November 7, 2017

Hi,

Thanks for reporting the issue. We are investigating it.

Regards,

Adobe AIR Team

Inspiring
November 3, 2017

as is consistent with what seems like every single Adobe AIR softkeyboard bug, here we are more than a year later, 4 new versions of AIR, still this same stupid bug. I'm using the latest and greatest AIR 27, and when I touch an input field, the status bar appears.

I REALLY wish Adobe would stop rolling out features that only benefit what seems like 1% of the developer base and fix bugs that have existed for years.

Known Participant
January 18, 2017
Known Participant
January 24, 2017

Experienced all of the above, starting AIR SDK 23.
AIR SDK 24 is perhaps a bit better, if you don't get the soft nav bar

it looks ok, but when it comes up, the app is screwed.

We are building an image editing application,

and this really makes a mess.

My workaround is using AIR SDK 21... until this

is engineered rocket solid.

Giles Corey
Participating Frequently
February 20, 2017

does anyone know if this has been fixed yet?

ming_renl43640151
Participant
January 18, 2017

I have the same problem. Open the game with Air 21 is good. Then I updated to Air 23, black bar shows at the bottom like below.

Updated to Air 24, black shows on the top, like the second pic. When press home button, then back to game, the game shows correctly, no black bar. My android version is 4.4.4. 720x1280, Huawei honor x4.

I also use milkman ANEs, it is not their problem. I have removed all the ANEs, then have the same result.

Inspiring
January 12, 2017

Just a note to say that I experienced this issue also. I have used some milkman ANEs, but not admob (Goviral and IAB in one project, GAnalytics and IAB in another) but I thought it was unrelated to those.

I ended up adding a call to a custom native extension that forced fullscreen non-immersive mode, I think restoring behavior as it was before in Air 22 and below.

But I see some commits in this extension relating to android immersive mode:

Commits · freshplanet/ANE-KeyboardSize · GitHub

Maybe that could help others now - I will try it also next week.

Known Participant
December 13, 2016

I just tried to use AIRSDK24.0.0.180 and we still see the status bar on few events like when admob interstitial appear and chartboost. We saw that bug with AIr 23 but unfortunitely the bug is still there with the lastest version. Could you please fix it asap?

deesharm
Adobe Employee
Adobe Employee
November 23, 2016

Hi,

The issue has been fixed in latest AIR 24 Beta Build. Please try testing the same using latest AIR 24 Beta.

You can download AIR 24 Beta Build from here:

Download Adobe AIR 24 Beta - Adobe Labs

Release Notes:

http://fpdownload.macromedia.com/pub/labs/flashruntimes/shared/air24_flashplayer24_releasenotes.pdf

Thanks,

Adobe AIR Team

Inspiring
November 23, 2016

Thanks! fullscreen mode is better for sure in direct rendermode on devices with a software nav bar - the blank area at the bottom is fixed. I still see the status and nav bar sticking onscreen after closing the keyboard sometimes if I remove the workaround I mentioned above, but it's a big improvement

deesharm
Adobe Employee
Adobe Employee
November 24, 2016

Hi Peter,

Thanks for your reply.

I tested a sample stageText actionscript project on Samsung Note 4 (Android 5.0) and Sony Xperia Z3+ (6.0) using latest AIR 24 Beta build. Now I don't see the status bar sticking to the screen when soft keyboard comes up and disappears once we finish typing. Status Bar goes away as soon as I click out of the stageText.

Could you please mention steps where I can reproduce the issue that you are facing at your end. It will also be very helpful for us if you can share a sample project with us.

Thanks,

Adobe AIR Team

Participant
November 21, 2016

We are also getting this and another related problem with Air 23 and Air 24 beta (not Air 22)

Nexus 5, Android 6.0.1

* When stageText is show, the system bar (back, home, apps list) is shown, and instead of being transparent, it has an opaque black background, but the app does not get a resize event, so vital parts of our UI are covered, and we have other issues cause by not resizing. There seems to be no way of dismissing it other then leaving the app and coming back to it

* I think the above issue is not present in Air 24 beta, but the app simply get's the wrong dimensions and so our UI is drawn incorrectly (completely unacceptable behavior). Leaving the app and coming back does not affect this issue.

Until this is fixed, we will be unable to upgrade passed Air 22, and we need Air 23 for other bug fixes. Please correct this ASAP

BTW- Is there a bug for this we could track??

Participant
October 14, 2016

Hi, i also can confirm that we have such issue on Samsung S6 and S7 phones. Any ETA when fix could be expected?