Hybrid app does not set backgroud color for the status bar

3 posts, 0 answers
  1. Alexis
    Alexis avatar
    5 posts
    Member since:
    Feb 2016

    Posted 29 Jun Link to this post

    Hello,

    I am working on a hybrid app and I noticed the background color of the iPhone status bar is black. How can I change the background color of the status bar?

    See attached screenshot.

    Also,

    Is there any signature capturing control for Kendo Mobile or Cordova plug in?

    Thanks,

    Alexis

  2. Alexis
    Alexis avatar
    5 posts
    Member since:
    Feb 2016

    Posted 29 Jun in reply to Alexis Link to this post

    Update:

    I found the following code that seems to work but only on iOS. Any idea for Androi and Windows phone?

    StatusBar.overlaysWebView(false);
    StatusBar.backgroundColorByHexString('#0097B7');
    StatusBar.styleLightContent();

  3. Garo
    Admin
    Garo avatar
    46 posts

    Posted 04 Jul Link to this post

    Hello Alexis,

    I was unable to recreate the behavior that you are experiencing. That being said, please have in mind that the option to change the status bar color became available in Android 5.0 with the introduction of Material Design. Older versions of Android do not have this functionality and I am not aware of any workaround that you could use to accomplish such behavior.

    Additionally, if you are using an Android 5.0+ version I would ask you to provide us with a sample app that reproduces the problem so we could investigate this issue further.

    I hope this helps.

    Regards,
    Garo
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
Back to Top