While in XML resources I can use a system reference style color like this (just an example):
android:textColor="?android:itemTextColor">
I would like to know how to get that color in java programmatically, when I need to set that color like this (unrelated another example):
button.setBackgroundColor(myColor);
How can I set myColor to be ?android:itemTextColor ?