mosabab edited a comment on issue #598: [android] Statusbar disappear after 
inappbrowser window appears
URL: 
https://github.com/apache/cordova-plugin-inappbrowser/issues/598#issuecomment-572583826
 
 
   @breautek @NiklasMerz 
   
   I found an old issues regarding this issue in this post:
   https://github.com/apache/cordova-plugin-inappbrowser/issues/469
   https://github.com/apache/cordova-plugin-inappbrowser/issues/526
   
   It seems same issue.
   
   This issue appear since inappbrowser version 3.1.0.
   
   This commit what change the behavior : 
https://github.com/apache/cordova-plugin-inappbrowser/commit/ec6af56fbd0e2d85f932914da576871da507b4c6
   
   Thanks to @breautek about the note.
   
   Removing this line ` 
dialog.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, 
WindowManager.LayoutParams.FLAG_FULLSCREEN); ` will fix the problem.
   
   But the other problem appear which is : the statusbar background color not 
take the action, and appear in black background.
   
   In my example here:
   
   `function loadStopCallBack() {
        
              StatusBar.overlaysWebView(false);
               StatusBar.backgroundColorByHexString("#0089d1");
   
   }`
   
   So the : `StatusBar.backgroundColorByHexString("#0089d1");` not take the 
blue color, and still in black.
   
   This not happen when fullscreen mode active.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org
For additional commands, e-mail: commits-h...@cordova.apache.org

Reply via email to