
Can any one help me with the code to draw this shape in xml

Can any one help me with the code to draw this shape in xml
You can create your own shape using https://editor.method.ac/ and save as a Image, so you can get a SVG file as a output.
After creating your shape as a SVG, you can add this SVG as a Vector Asset in you android app drawable folder from app->New->Vector Asset
In opened dialog for vector asset set the below detail and create xml for svg.
Asset Type : Local file
Name : your desired xml file name
Path : SVG file path
So now you can use this xml in your code.