This is the xml file for the love heart icon.
How to make XML for other icons?
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="48dp"
android:height="48dp"
android:viewportWidth="48"
android:viewportHeight="48">
<path
android:pathData="M0,0 L48,0 L48,48 L0,48 Z" />
<path
android:fillColor="@color/black"
android:pathData="M33,6 A12,12,0,0,0,24,10.18 A12,12,0,0,0,15,6 A10.89,10.89,0,0,0,4,17
C4,24.56,10.8,30.72,21.1,40.08 L24,42.7 L26.9,40.06 C37.2,30.72,44,24.56,44,17
A10.89,10.89,0,0,0,33,6 Z M24.2,37.1 L24,37.3 L23.8,37.1
C14.28,28.48,8,22.78,8,17 A6.84,6.84,0,0,1,15,10 A7.82,7.82,0,0,1,22.14,14.72
L25.88,14.72 A7.77,7.77,0,0,1,33,10 A6.84,6.84,0,0,1,40,17
C40,22.78,33.72,28.48,24.2,37.1 Z" />
</vector>
Read more