Presentation styles / Using presentation styles |
A style file is an XML file comprised of StyleList, Style, and StyleAttribute elements.
<StyleList> <Style name="*"> <StyleAttribute name="fontFamily" value="serif" /> </Style> <Style name=".important"> <StyleAttribute name="textColor" value="#ff0000" /> </Style> <Style name="Window"> <StyleAttribute name="toolBarPosition" value="top" /> <StyleAttribute name="statusBarType" value="default" /> </Style> <Style name="Window.dialog"> <StyleAttribute name="toolBarPosition" value="none" /> <StyleAttribute name="statusBarType" value="node" /> </Style> </StyleList>