You can do that with the setContentView Method because the UI elements
in that specific contentView call will be reinitialized.... YOu call
that after changing the locale of your app..

Hopefully that helps. But there is still that bug that not everything
is updated but I'm working on that. By now I came up with a solution
for updating the theme dynamicly and that seems to work correctly, I
try to port that for the locale as well.

On 11 Aug., 22:30, Lucas <[email protected]> wrote:
> Hello,
>
> How are you doing to change locale in runtime?
>
> regards,
>
> Lucas
>
> On Aug 5, 9:55 am,Strauch<[email protected]> wrote:
>
>
>
> > Hi out there,
>
> > I got a problem, after the localization feauture nearly works out of
> > the box I want to change the language dynamicly through a menu or
> > something. The change works, but the UI elements are not correctly
> > updated. Even the UI elements in a sub activity aren't. SO how can I
> > either restart the complete application automaticaly (after that  the
> > UI would be displayed correctly!) or update the whole application
> > including all activities?
>
> > As I read the onConfigurationChanged() method could help me out, but
> > even that doesn't work, Isetthelocaleevent in the manifest but it
> > is not even called (As tested with a Log.v output)...
>
> > Any ideas?
>
> > Thanks for your help, hopefully we can manage that....- Zitierten Text 
> > ausblenden -
>
> - Zitierten Text anzeigen -
--~--~---------~--~----~------------~-------~--~----~
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