How to use theme Layering in CodeName One ?
theme = UIManager.initNamedTheme("/theme", "Theme 1");
UIManager.getInstance().setThemeProps(theme.getTheme(theme.getThemeResourceNames()[1]));
I have instantiated the primary and secondary theme .