This is my Gradient drawable xml file and expected output for nexus 7 but the gradient is not correct ( Linings between shades )!
It look like this

Correct Output is in phone.

Is there any pixel format definition?
 <shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle" >
<gradient
    android:angle="45"
    android:endColor="#00a484"
    android:startColor="#00407e"
    android:type="linear" />
 </shape>