**I have a `ListView` and multiple layouts** , all the layouts are set when I click on `ListView` item, every item click contains different layout and I have two languages selected by radio button on one layout. After that when I clicked on item string gets refreshed but the `ImageButton` is not refreshed with different language. I have already an image with both languages and all my layouts are saved in an array.

My code is the following: 

When i clicked on save button after language selection:

```
if (lang_selected.equalsIgnoreCase("English")) 

{

    Locale locale = new Locale("es");

Locale.setDefault(locale);

Configuration config = new Configuration();

config.locale = locale; 
                            context.getResources().updateConfiguration(config,context.getResources().getDisplayMetrics());

//initView(view);

}else if(lang_selected.equalsIgnoreCase("Chinese"))

        {

Locale locale = new Locale("zh");

Locale.setDefault(locale);

Configuration config = new Configuration();

config.locale = locale; 
                            context.getResources().updateConfiguration(config, context.getResources().getDisplayMetrics());
                            //initView(view);
                        }

```

When i clicked on listview item:

```
protected void onGeneralInfoItemClick(AdapterView<?> parent,
            final int position) {

        final GeneralInfoData obj = (GeneralInfoData) parent
                .getItemAtPosition(position);

        final View layoutView = obj.getDataLayoutView();

        detailCantiner.removeAllViews();

        detailCantiner.addView(layoutView);

        try{
            if(position==0)
            {
                tvTradeName.setText(R.string.trade);
                btnSaveTrade.setImageResource(R.drawable.general_info_save_button);

                String 
str=Util.getSharedPreference(context).getString("UserCompany", "");

                trade_name.setText(str);

            }if(position==1).......................**

```