I want to design a xml layout as in the picture. So far I have rectangle shape how to make that sharp corners from xml.
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/listview_background_shape">
<stroke android:width="0dp" android:color="#4c71f5" />
<padding android:left="0dp"
android:top="0dp"
android:right="0dp"
android:bottom="0dp" />
<corners android:radius="2dp" />
<solid android:color="@color/colorAccent" />
</shape>