Hi Friends,
I am working on blackberry application, I need to align the buttons side by side, can you please give me a sample code
Thanking you
Hi Friends,
I am working on blackberry application, I need to align the buttons side by side, can you please give me a sample code
Thanking you
Seems you want to add those buttons to HorizontalFieldManager before adding to your Screen.
final class MyScreen extends MainScreen {
MyScreen() {
HorizontalFieldManager hfm = new HorizontalFieldManager();
hfm.add(new ButtonField("button1"));
hfm.add(new ButtonField("button2"));
add(hfm);
}
}