예제 #1
0
        public override void OnConfigurationChanged(Android.Content.Res.Configuration newConfig)
        {
            base.OnConfigurationChanged(newConfig);

            GrialKit.NotifyConfigurationChanged(newConfig);

            if ((int)Build.VERSION.SdkInt <= 19 &&
                !locale.Equals(newConfig.Locale))
            {
                // Need to recreate the activity when locale has changed for APIs 18 and 19
                // as changes in ConfigChanges.Locale break images used in the app
                Recreate();
            }
        }