We have created an AppWidget that takes user inputted text into an
EditText and displays a calculated amount of text inside a TextView on
the Home Screen. We calculate the amount of text based on the
AppWidgetInfo.minWidth, minHeight attributes. We do this to simulate
scrolling; we cut up the user-inputted text into chunks that will fit
into the widget and swap them based on button clicks.

When we save the widget with the device in Landscape mode, it
calculates the appropriate amount of text for Landscape mode and
displays it in the widget. The problem is when the user changes
orientation of the device to Portrait mode (without opening the widget
and resaving the text), the calculated amount of text for Landscape
mode is still displayed. This also happens in the vice versa case (the
user is in Portrait and saves, etc.)

How can we tell our AppWidget to recalculate the amount of text
displayed on screen orientation change? Is this possible? How would
you solve this problem?

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

Reply via email to