Example #1
0
        private static void OnTizenThemeChanged(object sender, Tizen.Applications.ThemeManager.ThemeEventArgs e)
        {
#if DEBUG
            theme = null;
#endif
            Tizen.Log.Info("NUI", $"TizenTheme: Id({e.Theme.Id}), Version({e.Theme.Version}), Title({e.Theme.Title})");
            sharedResourcePath = null;
            ThemeManager.ApplyExternalTheme(new TizenExternalTheme(e.Theme));
        }
Example #2
0
        private static void OnExternalPlatformThemeChanged(object sender, Tizen.Applications.ThemeManager.ThemeEventArgs e)
        {
            Tizen.Log.Info("NUI", $"TizenTheme: Id({e.Theme.Id}), Version({e.Theme.Version}), Title({e.Theme.Title})");

            id      = e.Theme.Id;
            version = e.Theme.Version;

            if (!ThemeManager.PlatformThemeEnabled)
            {
                return;
            }

            ThemeManager.ApplyExternalPlatformTheme(id, version);
        }