BlackBerry:Fixed height VerticalFieldManager
I have a VerticalFieldManager wh开发者_如何学编程ich acts as a parent.I have added one VFM & one HFM to the parent VFM.I want the VFM added to the parent VFM to behave as a fixed size VFM and the conents in it should be scolled only on scrolling.The HFM added to the parent VFM should be constantly seen on the screen.
In short i have to display a Toolbar at the bottom of the BB screen. I have already created a custom class by extending HFM to display a toolbar. And only when i scroll the VFM placed in the center i should be able to see the remaining contents.
can any one give me some idea or code to implement this?
Regards, Yogesh Chaudhari
Take a look at MainScreen and the method setStatus. They should do what you want.
精彩评论