Back

SetNavBarColor

Hello World

Change the android NavBar color.

app.SetNavBarColor( 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 - Change NavBar Color

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