Banner en mi app

22 views
Skip to first unread message

tsubaki...@gmail.com

unread,
Nov 19, 2016, 10:35:50 AM11/19/16
to CodenameOne Discussions
Hi,

I plan to create a banner at the bottom of my application. At first I thought about including a Container and changing it with the replace method. My problem is that I have many forms and I need the banner to stay fixed when I change form. I know that there is an alternative that each form is inserted in a container and then use the replace method to change them but it forces me to change a great part of the app.

My question: how do I keep the banner at the bottom and the forms move independently.

Thanks

Shai Almog

unread,
Nov 20, 2016, 12:35:02 AM11/20/16
to CodenameOne Discussions, tsubaki...@gmail.com
Hi,
this is problematic. Form is the top level container and everything is below it. There is no way within Codename One to place a permanent Codename One component that stays thru transitions etc.

Doing this for all forms though, should be easy. Just derive form and implement the logic for a banner and change the forms to derive from your base class.
Reply all
Reply to author
Forward
0 new messages