04-21-2010 10:32 AM
Hi all,
I am exploring the Dialog class and used the constructor where we can specify the choices to be displayed on the dialog.
public Dialog(String message,
Object[] choices,
int[] values,
int defaultChoice,
Bitmap bitmap)
These choices appear in the form of button fields that are vertically aligned, one below the other.
However, I would like to know if there is some way of arranging them horizontally across the screen width.
I know the same may be achieved using the PopupScreen instead of Dialog.
I wonder if over-riding the doLayout() of my Dialog can help, but then I dont have any control over the choice-buttons created and hence cannot lay out them horizontally.
Anyone faced a similar problem?
Thanks..
04-21-2010 11:00 AM