哪个主题属性更改了EditText的错误消息的文本颜色

Chr*_*ris 21 android themes android-edittext android-3.0-honeycomb

在我的表格中,我setError("")EditText场上使用.我的应用程序主题扩展android:Theme.Holo.
我已经手动用深色背景设置图像android:errorMessageBackgroundandroid:errorMessageBackgroundAbove.

现在问题是:错误消息的文本颜色也很暗,不可读.

我尝试textColor在我的主题中更改不同的属性,但我找不到正确的属性.

请问有人能帮助我吗?谢谢!克里斯

Ron*_*hta 0

在manifest.xml中执行以下操作

<resources>
    <style name="LightErrorFix" parent="@android:style/Theme.Light">
         <item name="android:textColorSecondaryInverse">@android:color/secondary_text_light</item>
    </style>
</resources>
Run Code Online (Sandbox Code Playgroud)