2

I have a vector like this:

<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="375dp"
android:height="156dp"
android:viewportHeight="120"
android:viewportWidth="190">

<path
    android:fillColor="#213368"
    android:pathData=" M 0,0 L 0,156 L 375,156 L 300,50z" />

I need to add a gradient color instead the fill color to this vector. What is the best way?

adneal
  • 30,484
  • 10
  • 122
  • 151
rei_ayanami
  • 135
  • 1
  • 9
  • 1
    Please refer:https://stackoverflow.com/questions/40872114/can-gradientcolor-be-used-to-define-a-gradient-for-a-fill-or-stroke-entirely-in –  Oct 04 '17 at 19:14

0 Answers0