I have a png drawable for the buttons. But it image drawable has gradient and it looks bad when applying 9patch (gradient & 9patch non compatible). I want to do this with a shapes. But I can't drawing with android shapes because it's hard to me to understand it.
Can you help me to draw this image with a shapes?
It's contain a border gradient, orange rectangle inside with a rounded corners and shadow 120°
Here you go
Create your layout
Create my_rectangle.xml file inside drawable folder
The result
Notes
Cheers