how to change style dialog box... like changing background etc its very confusing
Dialog d = new Dialog();
d.setUIID("abc");
d.setDialogUIID("abc");
d.getContentPane().setUIID("myDialog");
Label popupOutfitSaved = new Label("There are no recent searches");
popupOutfitSaved.setUIID("DialogLabel");
d.setLayout(new BorderLayout());
d.addComponent(BorderLayout.CENTER, popupOutfitSaved);
d.setTransitionInAnimator(CommonTransitions.createFade(1000));
d.setTransitionOutAnimator(CommonTransitions.createFade(800));
d.getStyle().setOpacity(0);
d.getStyle().setBgColor(0xff0000); //why doesn't it work
d.setTimeout(5000);
d.showPopupDialog(c);
I change tintcolor also bt in vain
@Override
protected void beforeMain(Form f) {
f.setTintColor(0xccff99);
}