Back

SetStatusBarColor

Hello World

Change the android status bar color.

app.SetStatusBarColor( color )

Note: This function is a premium feature. Please consider subscribing to Premium to use this feature and support DroidScript in its further development.

Example - Set StatusBar Color

function OnStart() {
    app.SetStatusBarColor("green");
}
    Copy     Copy All       Run      
String:
  hexadecimal: “#rrggbb”, “#aarrggbb”
  colourName: “red”, “green”, ...