问题
Facebook and twitter have a loading bar at the bottom of the screen that can dissapear if the page have finished loading.
What field or layout manager that implemented dissapear thing. Are that custom field/manager? what it is called?
thanks for ur answer
回答1:
We can achieve what Facebook or Twitter did with 2 VerticalFieldManger and 1 Field (loadingBar). Customize your loadingBar as you wish.
Check this layout
Use 1st VerticalFieldManger as parentManager. and 2nd VerticalFieldManger as contenManager.
Make contentManager scrollable and add functionality for changing its height.
Adjust the height of the contentManager when the parentManager add the loadingBar to it or remove the loadingBar from it.
回答2:
after searching i found this article about MainScreen
http://supportforums.blackberry.com/t5/Java-Development/MainScreen-explained/td-p/605580
turns out what I mean is setStatus. I can place my loading bar in that. Thank u all
来源:https://stackoverflow.com/questions/7173268/blackberry-loading-bar-at-the-bottom-of-screen