Change the application background color

Put the following code in your main function, of your Application class.

// Document is the application root
var doc = this.getRoot();
doc.setBackgroundColor("#ffffff");//Make it white