Sunday, July 10, 2011

[android-developers] Re: Localization

What do you mean with closing the app? Maybe you mean you want to
avoid restarting an activity? That can be done. You just have to load
the layout again after changing the locale so the layout is loaded
with a new set of resources. You can find source code examples on
Google for this. If you can't find, I can point you to it.

If you want to avoid reloading the layout, then you are out of luck
and you have to manually update all your views. But that would be the
wrong way to do it.

Martin
mobitobi

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment