Mục Đồng
Mục Đồng

Reputation: 216

Codename One: Command button on top-bar and bottom-bar

I have problem with Command with Codename One.

I want to make a UI like this: Command "Cancel" at top-left, Command "Account", "Images" at bottom bar

enter image description here

To do that, I added 4 command like this:

enter image description here

I added "empty" Command 217 to top-right, and next: Cancel, Account, Images (2 commands used icons)

It showed well on iPhone Simulator. But on Android simulator, it showed:

enter image description here

The "empty" command is showed, it made user confuse

But if I don't add "empty" command, the UI on iPhone will:

enter image description here

It doesn't like my design.

Everybody, can you help me any idea.

Thanks a lot!

Upvotes: 0

Views: 726

Answers (1)

Shai Almog
Shai Almog

Reputation: 52770

You can use the SideMenuBar or the new Toolbar API which will be a part of the new update this week.

Upvotes: 0

Related Questions