I want to give 20 degree angle in the gradient what i have to do to achieve that?This is my xml code.
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient android:startColor="#eeeeee"
android:endColor="#ffffff"
android:angle="0" />
</shape>