Don't replace the current configuration with a new one you make and haven't initialized completely.
Actually I would recommend not doing this at all; it is not really supported for the app to override the configuration, and even if you do fix this to use a proper Configuration object you are going to be fighting with the platform over this and we can't guarantee that you will continue to use the language you set for any time after setting it. On Wed, Jul 21, 2010 at 4:24 AM, Engin Arslan <[email protected]>wrote: > any suggestions?? > > thanks > > On Jun 29, 2:22 pm, Engin Arslan <[email protected]> wrote: > > Hi all, > > > > In may application I support multi-language. For this purpose, I set > > locale as user choice as follows: > > languageToLoad = "language code here"; > > Locale locale = new Locale(languageToLoad); > > Locale.setDefault(locale); > > Configuration config = new Configuration(); > > config.locale = locale; > > > > > this.getResources().updateConfiguration(config,this.getResources().getDispl > ayMetrics()); > > > > However , this locality set causesnexusoneresolutionproblem such > > that every thing gets smaller. Even if I set androidmanifest.xml > > <supports-screens > > android:smallScreens="true" > > android:normalScreens="true" > > android:largeScreens="true" > > android:anyDensity="true" > > /> > > it did not work. I have searched at the groups but cannot find any > > other solution. > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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

