的標題字體顏色如何更改在以下優先XML的title
和summary
的顏色:更改EditTextPreference
<EditTextPreference
android:key="username"
android:title="Your Name"
android:summary="Please provide your username." />
我在styles.xml
試過這樣:
<style name="SettingsTheme" parent="@style/AppBaseTheme">
<item name="android:textColorPrimary">@color/green</item>
<item name="android:textColorSecondary">@color/red</item>
<item name="android:textColorTertiary">@color/blue</item>
</style>
textColorPrimary
變化標題的顏色,但它也改變了我的工具欄中的文本顏色(我不想)。
textColorSecond
雖然似乎正確地更改摘要的顏色。
如何在不影響工具欄文字顏色的情況下更改標題的顏色?
爲什麼這會降低投票率? – Karakuri