i'm trying set radial linear background on app. have working on preview, when run app on samsung galaxy s4 makes whole background starting color.
preview look:
samsung galaxy s4 look:
here 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?
it bug. check here: https://code.google.com/p/android/issues/detail?id=77862