I'm trying to set a radial linear background on my app. I currently have it working on the preview, but when I run my app on my Samsung Galaxy S4 it makes the whole background just the starting color.
Preview look:
Samsung Galaxy S4 look:
Here is my XML file:
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle" >
<gradient
android:type="radial"
android:startColor="#f3e5f5"
android:endColor="#9c27b0"
android:gradientRadius="600"
android:angle="270"
android:centerX="50%"
android:centerY="20%"/>
</shape>
Any idea what's wrong?