这是drawable我试图将textview作为textcolor:
<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" >
<gradient
android:type="linear"
android:centerX="46%"
android:startColor="#FFc27a1c"
android:centerColor="#FFfee17f"
android:endColor="#FFc27a1c"
android:angle="90"/>
</shape>
但是当我将其应用为文本颜色时,文本会变成蓝色。