In Jetpack Compose how can I create custom oval shape?
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:left="-150dp"
android:right="-150dp"
android:top="-200dp">
<shape android:shape="oval">
<solid android:color="?attr/colorPrimary" />
</shape>
</item>
</layer-list>

You can use
Canvasfor it:OR
If you want to make it easier and if you know how much rounded value it should have, you can use
Box()with customRoundedCornersshape