Skip to content

Instantly share code, notes, and snippets.

@amilcar-sr
Created February 14, 2017 15:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amilcar-sr/ea3a91147f96eb3264a61d55b0ecebfd to your computer and use it in GitHub Desktop.
Save amilcar-sr/ea3a91147f96eb3264a61d55b0ecebfd to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<!--vector_heart.xml-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="128dp"
android:height="128dp"
android:viewportHeight="32"
android:viewportWidth="32">
<path
android:fillColor="#C00000"
android:pathData="M20.5,9.5
c-1.955,0,-3.83,1.268,-4.5,3
c-0.67,-1.732,-2.547,-3,-4.5,-3
C8.957,9.5,7,11.432,7,14
c0,3.53,3.793,6.257,9,11.5
c5.207,-5.242,9,-7.97,9,-11.5
C25,11.432,23.043,9.5,20.5,9.5z" />
</vector>
<!-- Usage example -->
<ImageView
android:layout_width="40dp"
android:layout_height="40dp"
android:src="@drawable/vector_heart" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment