This is a migrated thread and some comments may be shown as answers.

Hybrid app does not set backgroud color for the status bar

2 Answers 92 Views
AppBuilder extension for Visual Studio
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Alexis
Top achievements
Rank 1
Alexis asked on 29 Jun 2016, 03:17 PM

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 Answers, 1 is accepted

Sort by
0
Alexis
Top achievements
Rank 1
answered on 29 Jun 2016, 03:26 PM

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();

0
Garo
Telerik team
answered on 04 Jul 2016, 12:47 PM
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.

 
Tags
AppBuilder extension for Visual Studio
Asked by
Alexis
Top achievements
Rank 1
Answers by
Alexis
Top achievements
Rank 1
Garo
Telerik team
Share this question
or