themeing and commandBehaviour=Title

27 views
Skip to first unread message

Håkon

unread,
Jan 16, 2015, 9:18:50 AM1/16/15
to codenameone...@googlegroups.com
Hi,

We have been using codename one to develop an app for both android and ios for about a year now, and all has been working great, but suddenly, after I needed to add some more localization, (no other changes), the top menu behaviour has changed a bit for the android build,

I'm using a theme based on the "socialboo" dark theme for android, and using the constants "commandBehaviour=Title", plus includeNativeBool=true, to get a top-left "back" button to navigate to the previous screen. (I'm using the GUI builder)

In my latest builds, after the codename1 libs has been updated, the back button disappeared in sub-forms, however, on on forms that also had an extra command (should be displayed on top-right), the form got a back-button at top-left, but the extra command was not visible.

Using includeNativeBool=false, the top-left back button appears, but the GUI has some other issues with that setting, so it isn't a viable option.

Instead, i added an empty command (no action, no text, just click add, and ok) (In properties-> Commands) and the back button is again visible for that sub-form.

This seems to be a off by one bug when counting/adding commands to a form, or something, that has been introduced recently (last months), has anybody else experienced the same? I have seached the forums and issues a bit, but not found anything similiar.

Kind regards,
Håkon

Shai Almog

unread,
Jan 16, 2015, 12:45:31 PM1/16/15
to codenameone...@googlegroups.com
Hi,
are you using native commands on Android?
Do you have screenshots to illustrate that?
Reply all
Reply to author
Forward
0 new messages