0

This is the drawable I am trying to give the textview as 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>

But when i apply it as the text color, the text becomes blue in color.

Parth Anjaria
  • 3,961
  • 3
  • 30
  • 62

0 Answers0