I need to use the following attribute in several TextViews, where can I store it so that when the value changes they are all changed?
android:textSize="12sp"
I have the resource files themes.xml and strings.xml, I want to do the same but for the text size
This can be achieved with the help of themes. In your values res folder create some file, for instance, size.xml:
Then, in your values/styles.xml create new theme:
Then, apply your new style to your TextView widgets: