Justin H
Justin H

Reputation: 11

How do I draw a curve like this in xml res/drawable

Reference Image

How would I go about drawing a shape like this? I can't just use a half circle, because I want the edges to have a nice concave feel as they even out to flat. After that I'm looking to add a border to just the top part. How could this be done in xml?

Upvotes: 0

Views: 294

Answers (1)

Gabe Sechan
Gabe Sechan

Reputation: 93668

You wouldn't use xml for this. Use an image, possibly a vector drawable.

Upvotes: 1

Related Questions