Adding configChanges ="locale" programatically
- by chrisonline
I use configChanges="locale" on my activities.
Without this options in AndroidManifest.xml in 2.x i get flickering screens.
It works in all my activities excepting in the preferences screen i add programatically.
I have one Preference Activity -- it works after setting configChanges="locale" to the AndroidManifest.xml.
Inside of the Preference Activity i add programatically a new preferencescreen.
For this new PreferenceScreen i dont have an activity in the AndroidManifest.xml!
So i cannot add the configChanges="locale" and the screen flickers on 2.x !!
How can i add the attribute configChanges="locale" programatically?