I tried to use this method.
protected override void AttachBaseContext(context @base)
{
Context con = LanguageManager.NewLocale(@base,
LanguageManager.SelectNewLanguage(@base));
base.AttachBaseContext(@base));
}
When I run my app it got crash automatically.
As you provide less information, if you want to make a function which could change language in your application.
1.the LanguageManager class
2.MainActivity which includes a TextView and a Button;
3.in BaseActivity
4.in SettingActivity which could set the language,the axml similar to yours
you could refer to here