I want to get a gradient background but it gives me color banding.
How do i get a smooth gradient?
this is my xml code:
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<gradient android:angle="90"
android:startColor="@color/black"
android:endColor="@color/top_background_home"
android:type="linear" />
</shape>
android:background="@drawable/background_home"