The problem may be@drawble/text_color_drawable
: it shouldn't be a 'drawable', but rather a
'color'. Basically what you currently have is a StateListDrawable
, but what you really want is a ColorStateList
. Both are quite similar, but live in different places in the resources.
That being said, try moving the file from res/drawable
to res/color
. When you then assign the resource as text color, it should say: android:textColor="@color/text_color_drawable"