Alejandro Fernandez
Alejandro Fernandez

Reputation: 85

Transparent status bar codename one

Everything displayed on my app belongs to a BrowserComponent.

  1. I have tried in every possible way that my form is behind the status bar (with transparency) and extends to the top of the screen. I couldn't
  2. I have tried to completely disappear the status bar and make my form show full screen. I couldn't.
  3. Finally, given up. I have tried that at least the status bar and the green header are not separated by that white line. I couldn't either.

text

Display d = Display.getInstance();
d.setProperty("windows.StatusBar.ForegroundColor", String.valueOf(0xff0000));  // red
d.setProperty("windows.StatusBar.BackgroundColor", String.valueOf(0xffffff));  // white
d.setProperty("windows.StatusBar.BackgroundOpacity", String.valueOf(10));  // fully opaque

Upvotes: 1

Views: 50

Answers (0)

Related Questions