Android Localization
<p>the following code is for changing app locale into spainish its working fine in some device ,but in some devices it enalrging(zooming)the views in the app. can any one give the solution?</p>

<pre><code>Configuration config = getResources().getConfiguration();
            Locale locale = new Locale("es", "es_ES"); // change this to a different Locale than your device
            config.locale = locale;
            Locale.setDefault(locale);
            getBaseContext().getResources().updateConfiguration(config, getResources().getDisplayMetrics());
            Log.i("onSelected..", Locale.getDefault().getCountry());
                  startActivity(new Intent(getApplicationContext(), HomePage.class));
            finish();   
</code></pre>
