I am trying to make a circle using xml with a halo. The halo would be like it starts with say green color in the center, the greenish color keeps fading and finally at the edges it becomes transparent.
How to go about it?
I am trying to use following:
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval">
<gradient android:centerColor="@drawable/light_green" android:gradientRadius="250" android:type="radial"
android:endColor="@android:color/transparent"
android:angle="270"/>
</shape>
Still not able to get the desired effect. Any lead would be helpful.