开发者

How to animate a manager to expand when it receives focus in blackberry?

开发者 https://www.devze.com 2023-04-02 12:52 出处:网络
In my app, I am using a manager whose height is controlled by using its sublayout() method. Now when this manager(or any of the fields inside it) receives focus, I am able to increase the manager\'s h

In my app, I am using a manager whose height is controlled by using its sublayout() method. Now when this manager(or any of the fields inside it) receives focus, I am able to increase the manager's height all at once, but i wan开发者_Go百科t to make it animate and gradually increase its height. How shall i achieve this?

I am developing for OS 5.0 and above.


Use the timer in the paint method and expand its height every X milliseconds...

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号