Android M Developer Preview - Textview Android:textcolor Being Ignored
I have meet this problem when I try to upgrade my app to compile with compileSdkVersion 23 Just as my title says, the TextView used android:textColor='@android:color/white' no long
Solution 1:
As a workaround, try to use selector with defined state for android:state_enabled="false".
<?xml version="1.0" encoding="utf-8"?><selectorxmlns:android="http://schemas.android.com/apk/res/android"><itemandroid:color="@android:color/white"android:state_enabled="false"/><itemandroid:color="@android:color/white"/></selector>
Solution 2:
Confirmed to be a bug, and fix would be available in future build.
https://mail.google.com/mail/u/0/#inbox/14fb020ef65f9a41
Please refer to answer from @Alexandr if you need a workaround.
Post a Comment for "Android M Developer Preview - Textview Android:textcolor Being Ignored"