I want to be able to press the other buttons on my screen when open dialog.
Dialog menuDialog = new Dialog("Dialog Demo");
menuDialog.setTimeout(1000);
menuDialog.show(90, 90, 10, 10, true);
I want to be able to press the other buttons on my screen when open dialog.
Dialog menuDialog = new Dialog("Dialog Demo");
menuDialog.setTimeout(1000);
menuDialog.show(90, 90, 10, 10, true);
Vimal
On
Whilst 'pheromix' is correct in associating an action to the pointerReleased region. You would also need to make setDisposeWhenPointerOutOfBounds(false) in the derived Dialog class.
You can also refer the detailed explanation here http://www.java.net/forum/topic/mobile-embedded/lwuit/how-remove-screen-dimming-when-presented-dialog-2
Copyright © 2021 Jogjafile Inc.
Don't use directly a Dialog but create a class which derives
Dialog. Implement thepointerReleasedmethod , assuming that the device istactile, and test if thexandyparams are contained inside the area delimited by the Buttons's coordinates :