summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Xamarin.Forms.ControlGallery.Android/Resources/drawable/cartman.xml38
-rw-r--r--Xamarin.Forms.ControlGallery.Android/Resources/drawable/error.xml9
-rw-r--r--Xamarin.Forms.ControlGallery.Android/Resources/drawable/heart.xml17
-rw-r--r--Xamarin.Forms.ControlGallery.Android/Xamarin.Forms.ControlGallery.Android.csproj9
4 files changed, 73 insertions, 0 deletions
diff --git a/Xamarin.Forms.ControlGallery.Android/Resources/drawable/cartman.xml b/Xamarin.Forms.ControlGallery.Android/Resources/drawable/cartman.xml
new file mode 100644
index 00000000..9acb78f2
--- /dev/null
+++ b/Xamarin.Forms.ControlGallery.Android/Resources/drawable/cartman.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:viewportWidth="104"
+ android:viewportHeight="97"
+ android:width="104dp"
+ android:height="97dp">
+ <path
+ android:pathData="M14 85l3 9 72 0c0 0 5 -9 4 -10 -2 -2 -79 0 -79 1"
+ android:fillColor="#7c4e32" />
+ <path
+ android:pathData="M19 47c0 0 -9 7 -13 14 -5 6 3 7 3 7l1 14c0 0 10 8 23 8 14 0 26 1 28 0 2 -1 9 -2 9 -4 1 -1 27 1 27 -9C97 67 104 57 86 48 69 39 19 47 19 47"
+ android:fillColor="#e30000" />
+ <path
+ android:pathData="M17 32C14 80 97 75 88 29L53 14"
+ android:fillColor="#ffe1c4" />
+ <path
+ android:pathData="M17 32C26 -4 78 0 88 29 68 20 48 20 17 32"
+ android:fillColor="#8ed8f8" />
+ <path
+ android:pathData="M54 35a10 8 60 1 1 0 0.1zm-17 3a10 8 -60 1 1 0 0.1z"
+ android:fillColor="#ffffff" />
+ <path
+ android:pathData="M41 6c1 -1 4 -3 8 -3 3 0 9 -1 14 3L62 8 60 8 58 8C58 8 55 9 53 8 51 7 52 7 52 7L49 8 47 7 46 7c0 0 -1 2 -3 2 0 0 -2 -1 -2 -3m-24 28l0 -2c0 0 35 -20 71 -3l0 2C88 31 53 14 17 34M5 62c3 -2 5 -2 8 0 3 2 13 6 8 11 -2 2 -6 0 -8 0 -1 1 -4 2 -6 1C3 71 1 66 5 62m94 -3c0 0 -9 -2 -11 4l-3 5c0 1 -2 3 3 3 5 0 5 2 7 2 3 0 7 -1 7 -4 0 -4 -1 -11 -3 -10"
+ android:fillColor="#fff200" />
+ <path
+ android:pathData="M56 78l0 1m-1 -10l0 1m0 17l0 1"
+ android:strokeWidth="1"
+ android:fillColor="#000000"
+ android:strokeColor="#000000"
+ android:strokeLineCap="round" />
+ <path
+ android:pathData="M60 36a1 1 0 1 1 0 -0.1M49 36a1 1 0 1 1 0 -0.1M57 55a2 3 0 1 1 0 -0.1M12 94c0 0 20 -4 42 0 0 0 27 -4 39 0z"
+ android:fillColor="#000000" />
+ <path
+ android:pathData="M50 59c0 0 4 3 10 0m-4 7l2 12 -2 12M25 50c0 0 10 12 23 12 13 0 24 0 35 -15"
+ android:strokeWidth="0.5"
+ android:strokeColor="#000000" />
+</vector> \ No newline at end of file
diff --git a/Xamarin.Forms.ControlGallery.Android/Resources/drawable/error.xml b/Xamarin.Forms.ControlGallery.Android/Resources/drawable/error.xml
new file mode 100644
index 00000000..5fef9f2b
--- /dev/null
+++ b/Xamarin.Forms.ControlGallery.Android/Resources/drawable/error.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="356dp"
+ android:height="508dp"
+ android:viewportWidth="356"
+ android:viewportHeight="508">
+ <path android:fillColor="#000000" android:pathData="M330.4 0H25.6C11.6 0 .2 11.4.2 25.4v457.2c0 14 11.4 25.4 25.4 25.4h304.8c14 0 25.4-11.4 25.4-25.4V25.4c0-14-11.4-25.4-25.4-25.4zM178 482.6c-14 0-25.4-11.4-25.4-25.4 0-14 11.4-25.4 25.4-25.4 14 0 25.4 11.4 25.4 25.4 0 14-11.4 25.4-25.4 25.4zm127-86.4c0 5.6-4.5 10.2-10.2 10.2H61.2c-5.6 0-10.2-4.6-10.2-10.2V61c0-5.6 4.5-10.2 10.2-10.2h233.7c5.6 0 10.2 4.6 10.2 10.2v335.2h-.1z"/>
+ <path android:fillColor="#000000" android:pathData="M178 101.6c-14 0-25.4 11.4-25.4 25.4 0 14 11.4 25.4 25.4 25.4 14 0 25.4-11.4 25.4-25.4 0-14-11.4-25.4-25.4-25.4zM178 203.2c-14 0-25.4 11.4-25.4 25.4v101.6c0 14 11.4 25.4 25.4 25.4 14 0 25.4-11.4 25.4-25.4V228.6c0-14-11.4-25.4-25.4-25.4z"/>
+</vector> \ No newline at end of file
diff --git a/Xamarin.Forms.ControlGallery.Android/Resources/drawable/heart.xml b/Xamarin.Forms.ControlGallery.Android/Resources/drawable/heart.xml
new file mode 100644
index 00000000..7aa4151f
--- /dev/null
+++ b/Xamarin.Forms.ControlGallery.Android/Resources/drawable/heart.xml
@@ -0,0 +1,17 @@
+<!-- res/drawable/heart.xml -->
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:height="256dp"
+ android:width="256dp"
+ android:viewportWidth="32"
+ android:viewportHeight="32">
+
+ <!-- draw a path -->
+ <path android:fillColor="#8fff"
+ 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> \ No newline at end of file
diff --git a/Xamarin.Forms.ControlGallery.Android/Xamarin.Forms.ControlGallery.Android.csproj b/Xamarin.Forms.ControlGallery.Android/Xamarin.Forms.ControlGallery.Android.csproj
index 642f866b..bf48f587 100644
--- a/Xamarin.Forms.ControlGallery.Android/Xamarin.Forms.ControlGallery.Android.csproj
+++ b/Xamarin.Forms.ControlGallery.Android/Xamarin.Forms.ControlGallery.Android.csproj
@@ -263,6 +263,15 @@
<TransformFile Include="Properties\AndroidManifest.xml" />
</ItemGroup>
<ItemGroup>
+ <AndroidResource Include="Resources\drawable\error.xml" />
+ </ItemGroup>
+ <ItemGroup>
+ <AndroidResource Include="Resources\drawable\heart.xml" />
+ </ItemGroup>
+ <ItemGroup>
+ <AndroidResource Include="Resources\drawable\cartman.xml" />
+ </ItemGroup>
+ <ItemGroup>
<BundleResource Include="Resources\drawable\caret_r.png" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />