Skip to content

Instantly share code, notes, and snippets.

@jimmyFlash
Created July 18, 2020 08:43
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 jimmyFlash/1c2e6f233e7b3020ade8756cd66b2d93 to your computer and use it in GitHub Desktop.
Save jimmyFlash/1c2e6f233e7b3020ade8756cd66b2d93 to your computer and use it in GitHub Desktop.
A set of vector-drawables files for use in android projects
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="40dp"
android:height="40dp"
android:viewportHeight="40.0"
android:viewportWidth="40.0">
<path
android:name="curves"
android:pathData="M 30 5
C 5 0 10 40 30 30"
android:strokeColor="#FFF"
android:strokeWidth="4"
android:strokeLineCap="round"/>
</vector>
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="64dp"
android:height="64dp"
android:viewportWidth="64"
android:viewportHeight="64"
>
<clip-path
android:name="clip"
android:pathData="M8,0 H58 V64 H8z" />
<path
android:name="bound_rec"
android:strokeColor="#FFF"
android:strokeWidth="1"
android:pathData="M0,0 H64 V64 H0z"
/>
<path android:name="donut_centered"
android:strokeColor="#FFF"
android:strokeWidth="5"
android:pathData="M32,48 a16,16 0 1 1 1,0z" />
</vector>
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="64dp"
android:height="64dp"
android:viewportWidth="64"
android:viewportHeight="64">
<path android:name="moving_dot"
android:strokeColor="#FFF"
android:strokeWidth="5"
android:pathData="M45,42 a6,6 0 1 1 -1, 0z" />
<clip-path
android:name="clip"
android:pathData="M8,0 H58 V64 H8z" />
<path android:name="left_dot"
android:strokeColor="@android:color/white"
android:strokeWidth="5"
android:pathData="M19,26 a6,6 0 1 1 -1, 0z" />
<path android:name="top_dot"
android:strokeColor="@android:color/white"
android:strokeWidth="5"
android:pathData="M45,10 a6,6 0 1 1 -1, 0z" />
<path android:name="bottom_dot"
android:strokeColor="@android:color/white"
android:strokeWidth="5"
android:pathData="M45,42 a6,6 0 1 1 -1, 0z" />
<path
android:name="top_line"
android:strokeColor="@android:color/white"
android:strokeWidth="5"
android:pathData="M23,29.5 L40.5,18.5" />
<path
android:name="bottom_line"
android:strokeColor="@android:color/white"
android:strokeWidth="5"
android:pathData="M23,34.5 L40.5,45.5" />
</vector>
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="100dp"
android:height="100dp"
android:viewportWidth="100"
android:viewportHeight="100">
<path
android:name="light_triangle"
android:fillColor="@color/colorPrimary"
android:pathData="M 100,0 L 0,100 100,100 z" />
<path
android:name="dark_triangle"
android:fillColor="@color/colorPrimaryDark"
android:pathData="M 0,0 L 100,0 0,100 z" />
</vector>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment