开发者

How to save widgets to cache when orientation of screen changes

开发者 https://www.devze.com 2023-03-24 06:02 出处:网络
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 widget

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

精彩评论

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

关注公众号