Running Android 2.1, preferences and other dialogs have white/blue text. Looking at theme values I see things like textColorPrimary and textColorSecondary. If I reference those colors in my layout xml, with something like:
android:textColor="?android:attr/textColorSecondary"
I just see white text (I have tried textColorPrimary, textColorTertiary and textColorHint also).
I do not have any theme values stated in my manifest file. I am presuming this means I am using the system default theme.
All that said, am I barking up the wrong tree with textColor* references?
all the textColor* attributes point to color selectors. If you want to change the color for your theme you need to perform the following steps:
1) Create a color selector, create a file named (for example) primary_color.xml and put it under res\color folder
2) In your styles.xml file, create a theme for your activity that references your newly created color selector:
3) In your AndroidManifest.xml, apply the new theme to any activity you want: