// Required by Calligraphy protected override void AttachBaseContext(Context newBase) { ISharedPreferences preferences = PreferenceManager.GetDefaultSharedPreferences(newBase); string lang = preferences.GetString("locale", "en"); newBase = LanguageContext.NewLanguageAwareContext(lang, newBase); Context context = new LanguageContext(newBase); base.AttachBaseContext(CalligraphyContextWrapper.Wrap(context)); }
protected override void AttachBaseContext(Context newBase) { //SimpleStorage.SetContext(newBase); base.AttachBaseContext(CalligraphyContextWrapper.Wrap(newBase)); }
protected override void AttachBaseContext(Context @base) { base.AttachBaseContext(CalligraphyContextWrapper.Wrap(@base)); }
protected override void AttachBaseContext(Context @base) { ViewUtil.SetFont(true, @base.GetString(Resource.String.AppFont)); base.AttachBaseContext(CalligraphyContextWrapper.Wrap(@base)); }