Is there any tool present which can generate gradient in xml format for android apps? It is difficult for me to create a good gradient without visualizing the result immediately (like 'graphical layout' for layout xmls).
To create a gradient color we need to create a . xml file in the drawable folder. So go to app -> res -> drawable and right-click on drawable -> New -> Drawable Resource File and create gradient_drawable.
Here's angrytools.com/gradient can create gradient xml code for android apps
Thanks to Abhijeet's answer I was able to find this:
http://angrytools.com/android/button/
It shows the XML code for creating a drawable.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With