I found a function for rectangles with all 4 corners being round, but I want to have just the top 2 corners round. What can I do?
canvas.drawRoundRect(new Re
You can draw that piece by piece using drawLine() and drawArc() functions from the Canvas.
drawLine()
drawArc()
Canvas