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.
精彩评论