It is on the TODO list for when DroidScript's targetSdk is increased from 28 to 29 but there is quite a lot of work to be done before that change can be made.
var edt = app.CreateTextEdit( "Hello folks" );
if(app.GetBuildNum() > 27)
{
edt.SetBackColor( "#888888" );
edt.SetTextColor( "#ffffff" );
}
lay.AddChild( edt );
I would be surprised if a fix makes it into the next release.