I have a widget (a TextView) and want to extract its attributes as a style. I could just write the style by hand, but when I have already created a widget with the style I want,