0

I have a MainActivity wherein I am inserting a fragment over it.

In fragment there is EditText, Button ,TextView , ImageView. When i enter some text in EditText it shows the same in TextView. And when i click on profile-image default Icon(Image View) it asks us to upload image from sd card and sets that as Profile Image.

Before clicking on submit button if i go to settings and change the language to say Japanese then after coming back to my app does not refresh the same using Japanese text. And even image uploaded but not saved also disappears. I have values-ja for the Japanese script.

I read about onConfigChanges method in Activity. I tried that also but that method is also not getting called.

2
  • Use Fragment as Alias activity , and then use android:config changes in Manifest Commented Jan 1, 2013 at 11:14
  • I dint get what you trying to say. Commented Jan 1, 2013 at 11:18

1 Answer 1

1

I think you should read those article, then you can solve your problem

How to refresh activity after changing language (Locale) inside application

Changing Locale within the app itself

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.