开发者

How to save widgets to cache when orientation of screen changes

Is it possible to save widgets to cache? If so how can I go about doing this? I made my application implement widgets and everytime the orientation changes the activity has to restart forcing the widgets to disappear. If its not possible to save the widgets to cac开发者_Python百科he, how can I make the widgets reappear when the orientation of a device changes?


Try creating a /res/layout-land version of your widget and see what happens.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜