write conditional styles to styles.xml