I need create xml with two layout title and description. In title layout I need add border have half of circle in bottom left and right, and with description layout border have half of circle in top left and right. Here is my design
I can do it with create two half circle over line of rectangle radius border, but I don't want use this. How I can do it with another solution? Please give me key work or solution to do it! Thank you so much!

You can use the
ShapeAppearanceModeldefining a customCornerTreatmentto apply to the components. Something like:where the
ConcaveRoundedCornerTreatmentis:Just do the same with the description layout:
If you are using a view like a
CardViewwhich has a built-inshapeAppearanceModel: