rename resources
support style from xml