I'm trying to write a set of widgets and, in contrast to too many of
the widgets being put on the market, I'm trying to actually conform to
the widget design guidelines (http://developer.android.com/guide/
practices/ui_guidelines/widget_design.html).  Unfortunately, in order
to do this properly and look right, the widget needs to be able to
instantly change layouts when the screen changes orientation from
portrait to landscape.

Thus far, the *only* way that I've found to detect and react to the
orientation change is to keep a service running at all times with an
"onConfigurationChanged" method that updates the widget in a timely
manner.  Unfortunately, this leaves an expensive process constantly
cluttering up memory and pretty much defeats the broadcast-based
design of the widget mechanism.

It seems that there's got to be a better (and more efficient) way to
meet this basic requirement.  Am I missing something obvious?

-Robert


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to