I\'m trying to draw a diagonal line in an Android app with the XML, but it is not working. It simply draws a horizontal line.
main.xml:
You can try this : Create a layout "divider.xml"
Create a drawable shape "transparent_divider.xml":