08-01-2014 12:05 PM
I've gone around and around with this issue and haven't found anything definitive posted in this forum. I'm trying to add a footer to my app. The footer consists of two LabelFields, one left aligned and the other right aligned like so. However, no matter what I try, the best I can get is a layout like the following:
The footer itself is taking up the entire width of the screen which is OK. The Footer is a HorizontalFieldManager
and the Copyright and Terms Labels are themselves contained in their own VerticalFieldManager. The issue I'm having, as you can see above is that the Terms field is left aligned within it's half of the screen. How can I get it to be right aligned?
Solved! Go to Solution.
08-05-2014 01:53 AM
The best way to do this involves creating a Manager that will position the two Fields correctly. You would use this Manager in place of your HFM and two VFMs. This Manager would check to make sure trhere were only 2 Fields, layout each of these Fields and the position them to the left and right.
I would encourage you to try to do this, as it is not too difficult and you will learn a lot about manging BB Fields.
Here is video:
and a KB article:
Feel free to come back here for more if you can't get this working.
08-05-2014 11:55 AM
Peter, thanks for the response. I ended up using this library (which I think I found in one of your previous replies to someone who had a similar issue):
Specifically, I used the JustifiedHorizontalFieldManager.java class.
08-06-2014 05:17 AM
Take a look at this article:
It describes how to make custom field manager with two field alligned at Left/Right -> the same as you need.