In an Android application I am writing, the styling for my various TextView
elements is defined in an xml resource. I would like enable the user to change certain styles such as android:typeface
using a PreferenceActivity
.
Is there a way to modify a style resource programmatically such that all associated widgets will update correctly? If not, must I manually select all widgets by id and change their styling?