Loading locale at runtime is not updating same time
<p>I created one activity which haves one TextView and Spineer. Spineer is used to select locale and on selection I want TextView text should be picked from selected locale and I want it to be changed instantly when spineer goes off.<br>
On onItemSelected method I have written below code:</p>

<pre><code>selectedLocale=(String) arg0.getItemAtPosition(arg2);

        if(selectedLocale.equals("Arabic")){
            locale2= new Locale("AF");
        }
        else
        {
            locale2= new Locale("EN");
        }



        Configuration config = new Configuration();
        config.locale = locale2;
        Log.v("This file @onItem selected", "calling updatinon" + selectedLocale); 

        getApplicationContext().getResources().updateConfiguration(config, null);
</code></pre>

<p>My issue is that I'm not able to fetch text for selected locale. Can any one update me if I am missing some thing.</p>
