Blackberry - loading bar at the bottom of screen

谁说胖子不能爱 提交于 2019-12-12 06:36:56

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!