Mike Olson wrote:
> I have used the method specified on the Resource and I18N page (http://
> developer.android.com/guide/topics/resources/resources-i18n.html) to
> specify separate strings.xml resource files for when the orientation
> is landscape vs. portrait. When the activity starts, it will display
> the strings correctly based on the orientation at that time. But if
> the orientation changes, the strings do not change to start using the
> new resource file. Instead, they continue to use the resource file
> that was valid when the activity started.
> 
> Is there some function I can call to reload the string resources based
> on the current configuration, or am I going about this entirely the
> wrong way?

No, that should work, at least if you let Android do the normal
destroy-and-recreate cycle for the activity in question. If you are
overriding that, you will need to go through each widget and tell it to
load the new string values, AFAIK.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_
Version 1.5 Available!

-- 
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