Skip to content

Commit be25828

Browse files
author
farfromrefug
committed
demo: failure test
1 parent 7ea32ad commit be25828

File tree

4 files changed

+201
-0
lines changed

4 files changed

+201
-0
lines changed
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
2+
android:width="664.24dp"
3+
android:height="651.84dp"
4+
android:viewportWidth="664.24"
5+
android:viewportHeight="651.84">
6+
<path
7+
android:pathData="m334.43,165.15c-16.06,0 -32.11,7.61 -41.34,22.83a16.12,16.12 0,0 0,-0.06 0.06L156.49,416.01A16.12,16.12 0,0 0,156.33 416.23c-18.12,31.38 5.14,72.15 41.38,72.55a16.12,16.12 0,0 0,0.16 0L470.99,488.78a16.12,16.12 0,0 0,0.16 0c36.24,-0.4 59.5,-41.16 41.38,-72.55a16.12,16.12 135,0 0,-0.16 -0.22L375.83,188.04a16.12,16.12 0,0 0,-0.06 -0.06C366.54,172.76 350.49,165.15 334.43,165.15ZM334.43,196.48c5.23,0 10.47,2.74 13.79,8.22L484.59,432.36c6.55,11.33 -0.7,24.04 -13.79,24.18L198.05,456.54C184.96,456.4 177.71,443.69 184.26,432.36L320.63,204.7C323.95,199.22 329.19,196.48 334.43,196.48Z"
8+
android:strokeLineJoin="miter"
9+
android:strokeWidth="3.6"
10+
android:fillColor="#f9ad0c"
11+
android:strokeColor="#000000"
12+
android:strokeLineCap="butt"/>
13+
<path
14+
android:pathData="m334.43,263.08a16.12,16.12 0,0 0,-16.12 16.12l0,64.49a16.12,16.12 0,0 0,16.12 16.12,16.12 16.12,0 0,0 16.12,-16.12L350.55,279.2A16.12,16.12 0,0 0,334.43 263.08Z"
15+
android:strokeLineJoin="miter"
16+
android:strokeWidth="3.6"
17+
android:fillColor="#f9ad0c"
18+
android:strokeColor="#000000"
19+
android:strokeLineCap="butt"/>
20+
<path
21+
android:pathData="m334.43,392.05a16.12,16.12 0,0 0,-16.12 16.12,16.12 16.12,0 0,0 16.12,16.12l0.16,0a16.12,16.12 0,0 0,16.12 -16.12,16.12 16.12,0 0,0 -16.12,-16.12z"
22+
android:strokeLineJoin="miter"
23+
android:strokeWidth="3.6"
24+
android:fillColor="#f9ad0c"
25+
android:strokeColor="#000000"
26+
android:strokeLineCap="butt"/>
27+
<path
28+
android:pathData="m152.29,137.25c2.93,-1.65 6.6,-0.58 9.09,1.42 4.87,3.86 9.67,8.16 15.6,10.31 6.02,1.12 12.05,-1.62 18.1,-0.91 3.69,0.5 6.9,4.1 6.31,7.91 -0.94,6.17 -4.12,11.8 -4.78,18.03 0.51,6.55 4.84,11.92 6.79,18.05 0.85,3.02 -0.28,6.58 -2.97,8.3 -2.41,1.81 -5.58,1.47 -8.41,1.47 -4.67,-0.21 -9.35,0.32 -13.95,1.08 -5.93,2.83 -9.58,8.56 -14.51,12.65 -3.24,2.79 -9.08,1.64 -10.47,-2.58 -2.27,-6.12 -3.22,-12.78 -6.44,-18.52 -4.41,-5.29 -11.69,-6.36 -17.35,-9.77 -3.94,-2.26 -4.34,-8.46 -0.97,-11.39 5.07,-4.59 11.61,-7.54 15.99,-12.89 2.24,-5.45 2.73,-11.41 3.9,-17.15 0.45,-2.45 1.7,-4.92 4.07,-6.01z"
29+
android:fillColor="#f9ad0c"/>
30+
<path
31+
android:pathData="m502.47,303.89c4.16,-2.11 8.99,0.47 11.56,3.89 6.28,8.38 6.76,20.07 2.7,29.51 -1.62,3.57 -5.45,6.71 -9.58,5.65 -4.79,-1.62 -7.75,-6.31 -9.44,-10.82 -2.08,-6.16 -2.83,-12.96 -1.24,-19.31 1.02,-3.44 2.51,-7.33 6,-8.92z"
32+
android:fillColor="#26a56c"/>
33+
<path
34+
android:pathData="m537.63,319.18c7.47,-3.75 16.52,-5.13 24.51,-2.23 3.17,1.11 5.9,4.2 5.36,7.74 -1.25,9.12 -4.86,18.23 -11.48,24.79 -8,7.73 -21.9,11.03 -31.2,3.75 6.49,-4.53 13.06,-8.97 19.39,-13.72 2.02,-1.24 -0.13,-3.36 -0.87,-4.73 -7.07,4.51 -13.79,9.54 -20.81,14.12 -2.85,-3.92 -3.74,-9.28 -1.68,-13.75 3.07,-7.43 9.83,-12.42 16.78,-15.97z"
35+
android:fillColor="#26a56c"/>
36+
<path
37+
android:pathData="m522.53,348.9c7.02,-4.58 13.74,-9.61 20.81,-14.12 0.74,1.37 2.89,3.49 0.87,4.73 -6.33,4.75 -12.9,9.19 -19.39,13.72 -3.45,2.59 -7.15,4.8 -10.61,7.36 -1.19,1.21 -2.9,0.75 -4.37,0.71 -0.13,-1.39 -0.83,-3.23 0.75,-4.07 3.86,-2.94 7.99,-5.51 11.94,-8.33z"
38+
android:fillColor="#1a1c1f"/>
39+
<path
40+
android:pathData="m542.58,496c3.93,-2.17 6.9,2.28 7.7,5.61 0.98,4.82 6.53,5.21 10.17,7.04 2,0.73 3.39,2.9 2.62,5.02 -1.63,3.45 -5.18,5.46 -7.03,8.74 -0.98,3.58 1.32,8.24 -2.12,10.92 -2.96,2.7 -6.6,-0.79 -9.61,-1.68 -3.58,-1.94 -7.31,0.47 -10.88,1.12 -2.16,0.67 -4.69,-0.78 -5.02,-3.06 -0.53,-3.62 1.08,-7.3 0.24,-10.91 -1.33,-2.65 -3.48,-4.79 -4.7,-7.49 -0.69,-1.63 -0.2,-3.78 1.35,-4.73 2.92,-1.72 6.64,-0.7 9.57,-2.37 3.25,-2.05 4.69,-5.92 7.71,-8.21z"
41+
android:fillColor="#f9ad0c"/>
42+
<path
43+
android:pathData="m157.48,314.23c4.14,-2.32 6.58,2.82 9.16,5.12 3.31,4.09 9.25,1.44 13.41,3.55 3.92,3.48 -0.93,8.03 -2.28,11.61 -2.99,4.27 2.92,8.96 0.36,13.22 -2.64,3.64 -7.33,0.86 -10.86,0.64 -5.26,-1.67 -8.57,5.72 -13.7,3.84 -4.49,-3.04 -1.04,-10.12 -5.3,-13.42 -2.07,-2.06 -6.07,-3.34 -5.58,-6.89 0.26,-3.81 4.73,-4.63 7.44,-6.25 4.86,-1.9 3.58,-8.5 7.35,-11.42z"
44+
android:fillColor="#f9ad0c"/>
45+
<path
46+
android:pathData="m453.85,189.09c3.1,-2.86 3.86,-7.4 6.86,-10.33 1.91,-1.04 4.6,-0.65 6.07,1.02 2.63,2.46 3.3,6.66 6.64,8.39 2.78,0.81 5.75,0.65 8.55,1.45 2.13,0.55 3.58,3.04 2.77,5.15 -1.32,3.37 -4.18,5.82 -5.6,9.13 -0.67,3.34 1.04,6.63 0.68,9.97 -0.45,1.94 -2.27,2.89 -4.05,3.32 -4.22,-0.07 -7.92,-2.93 -12.16,-2.68 -2.76,0.93 -5.18,2.61 -7.93,3.57 -2.64,0.99 -5.84,-1.33 -5.52,-4.17 -0.3,-3.28 0.86,-7.18 -1.6,-9.86 -2.39,-2.56 -5.26,-4.8 -6.44,-8.23 1.64,-5.14 7.78,-4.6 11.73,-6.73z"
47+
android:fillColor="#f9ad0c"/>
48+
<path
49+
android:pathData="m222.22,533.48c4.58,-1.91 9.71,0.48 12.38,4.37 6.45,9.01 6.91,21.71 1.88,31.47 -1.7,3.52 -5.91,5.96 -9.75,4.39 -5.13,-2.15 -8.16,-7.46 -9.68,-12.57 -1.82,-6.67 -2.45,-13.89 -0.24,-20.54 0.9,-2.89 2.61,-5.74 5.41,-7.12z"
50+
android:fillColor="#26a56c"/>
51+
<path
52+
android:pathData="m268.24,546.4c5.98,-0.98 12.48,-0.98 18.08,1.63 2.83,1.24 4.17,4.54 3.73,7.5 -1.07,8.3 -4.28,16.43 -9.54,22.99 -6.15,7.56 -16.12,12.02 -25.88,11.03 -3.45,-0.31 -6.58,-1.97 -9.18,-4.17 6.95,-5.13 14.39,-9.6 21.11,-15.03 1.67,-1.18 -0.63,-2.79 -1.07,-3.98 -8.26,3.94 -15.02,10.36 -22.97,14.87 -2.23,-4.36 -3.44,-9.61 -1.36,-14.27 4.86,-10.86 15.78,-17.9 27.08,-20.57z"
53+
android:fillColor="#26a56c"/>
54+
<path
55+
android:pathData="m242.52,581.24c7.95,-4.51 14.71,-10.93 22.97,-14.87 0.44,1.19 2.74,2.8 1.07,3.98 -6.72,5.43 -14.16,9.9 -21.11,15.03 -3.3,2.4 -6.64,4.74 -9.97,7.1 -1.09,1.02 -2.61,0.86 -3.98,0.84 -0.36,-0.71 -1.08,-2.12 -1.44,-2.83 3.55,-3.8 8.33,-6.14 12.46,-9.25z"
56+
android:fillColor="#1a1c1f"/>
57+
</vector>
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
2+
android:width="664.24dp"
3+
android:height="651.84dp"
4+
android:viewportWidth="664.24"
5+
android:viewportHeight="651.84">
6+
<path
7+
android:pathData="m348.2,281.39c5.68,-2.55 12.28,-0.44 16.93,3.27 8.56,6.42 12.08,18.27 9.32,28.48 -1.36,5.22 -5.61,9.77 -11,10.83 -6.55,1.45 -13.45,-1.5 -17.8,-6.41 -5.66,-6.41 -9.03,-15.38 -7.14,-23.92 1.08,-5.29 4.58,-10.22 9.7,-12.24m0.17,16.8c-3.71,1.65 -2.81,7.41 0.58,8.89 2.68,1.53 6.35,-0.99 5.86,-4.04 0.12,-3.24 -3.29,-6.22 -6.44,-4.84z"
8+
android:strokeWidth="1.11065"
9+
android:fillColor="#1a1c1f"/>
10+
<path
11+
android:pathData="m292.72,317.03c11.67,-2.88 22.3,7.11 25.58,17.61 2.55,7.61 1.39,17.33 -5.24,22.54 -4.78,4.19 -11.95,3.94 -17.44,1.4 -10.54,-5.02 -16.47,-17.69 -14.26,-29.03 1.12,-5.82 5.64,-10.88 11.36,-12.52m-1.29,17.3c-4.75,3.17 0.02,11.7 5.21,8.71 4.79,-3.02 -0.16,-11.51 -5.21,-8.71z"
12+
android:strokeWidth="1.11065"
13+
android:fillColor="#1a1c1f"/>
14+
<path
15+
android:pathData="m335.73,358.82c10.63,-7.07 21.68,-13.48 32.56,-20.16 3.8,4.25 3.58,10.42 2.5,15.65 -1.62,8.24 -8.82,15.36 -17.27,16.16 -7.93,0.94 -15.67,-2.95 -20.71,-8.94 0.92,-0.96 1.82,-1.95 2.92,-2.71z"
16+
android:strokeWidth="1.11065"
17+
android:fillColor="#1a1c1f"/>
18+
<path
19+
android:pathData="m251.85,223.75c3.94,-7.04 12.58,-10.53 20.4,-9.53 8.33,0.97 15.75,5.21 22.96,9.21 13.66,7.79 26.77,16.56 40.77,23.72 5.56,2.78 11.7,-0.1 16.88,-2.37 15.63,-7.02 30.88,-15.06 47.26,-20.22 7.85,-2.54 17.04,-2.63 24.09,2.14 6.03,3.78 9.43,10.63 10.35,17.53 1.31,8.14 -0.66,16.3 -2.59,24.18 -2.91,11.02 -6.3,21.9 -9.03,32.96 -0.49,3.04 -1.7,6.36 -0.29,9.33 2.49,4.59 6.12,8.39 9.63,12.19 10.02,10.73 20.74,20.81 30.17,32.08 4.02,4.83 7.89,10.34 8.35,16.82 0.52,4.61 -1.19,9.06 -3.43,12.98 -5.6,7.56 -14.99,10.78 -24.03,11.64 -18.13,1.99 -36.42,1.28 -54.6,2.27 -5.78,0.26 -9.54,5.42 -11.77,10.2 -8.06,17.29 -15.15,35.14 -25.25,51.4 -4.15,6.72 -10.14,13.26 -18.3,14.59 -7.99,1.53 -16.23,-2.41 -20.88,-8.89 -5.35,-7.33 -9.1,-15.69 -12.58,-24.02 -4.38,-11.61 -8.72,-23.23 -12.76,-34.96 -1.59,-4.46 -3.9,-9.39 -8.72,-11.04 -4.9,-1.37 -10.06,-1.23 -15.06,-1.95 -13.79,-1.22 -27.66,-2.28 -41.19,-5.32 -7.25,-1.69 -14.76,-4.4 -19.73,-10.23 -4.78,-5.58 -5.6,-13.79 -3.04,-20.55 2.04,-5.28 5.41,-9.95 9.35,-13.96 13.18,-13.13 27.38,-25.19 41.88,-36.81 4.1,-2.91 5.1,-8.17 4.33,-12.87 -2.08,-14.54 -5.98,-28.8 -7.51,-43.43 -0.76,-9.16 -0.3,-18.93 4.34,-27.09m96.35,57.64c-5.12,2.02 -8.62,6.95 -9.7,12.24 -1.89,8.54 1.48,17.51 7.14,23.92 4.35,4.91 11.25,7.86 17.8,6.41 5.39,-1.06 9.64,-5.61 11,-10.83 2.77,-10.21 -0.76,-22.06 -9.32,-28.48 -4.64,-3.71 -11.25,-5.82 -16.93,-3.27m-55.48,35.64c-5.72,1.63 -10.24,6.7 -11.36,12.52 -2.21,11.34 3.72,24.01 14.26,29.03 5.49,2.54 12.66,2.79 17.44,-1.4 6.63,-5.21 7.8,-14.93 5.24,-22.54 -3.28,-10.51 -13.91,-20.49 -25.58,-17.61m43,41.79c-1.1,0.76 -2,1.75 -2.92,2.71 5.04,5.99 12.78,9.88 20.71,8.94 8.45,-0.8 15.65,-7.92 17.27,-16.16 1.08,-5.23 1.3,-11.4 -2.5,-15.65 -10.88,6.68 -21.94,13.08 -32.56,20.16z"
20+
android:strokeWidth="0.832989"
21+
android:fillColor="#f9ad0c"/>
22+
<path
23+
android:pathData="m494.94,121.08c2.35,-2.17 2.92,-5.61 5.2,-7.82 1.45,-0.79 3.48,-0.49 4.6,0.77 1.99,1.86 2.5,5.04 5.03,6.36 2.11,0.61 4.36,0.49 6.48,1.1 1.61,0.42 2.71,2.3 2.1,3.9 -1,2.55 -3.17,4.41 -4.24,6.92 -0.51,2.53 0.79,5.02 0.52,7.55 -0.34,1.47 -1.72,2.19 -3.07,2.51 -3.2,-0.05 -6,-2.22 -9.21,-2.03 -2.09,0.7 -3.92,1.98 -6.01,2.7 -2,0.75 -4.42,-1.01 -4.18,-3.16 -0.23,-2.48 0.65,-5.44 -1.21,-7.47 -1.81,-1.94 -3.98,-3.64 -4.88,-6.23 1.24,-3.89 5.89,-3.48 8.89,-5.1z"
24+
android:strokeWidth="0.757497"
25+
android:fillColor="#f9ad0c"/>
26+
<path
27+
android:pathData="m174.22,151.32c2.23,-1.11 4.83,-0.16 6.58,1.4 2.77,2.18 5.39,5.26 9.17,5.43 3.33,0.02 6.59,-0.86 9.92,-1.05 2.11,0.02 4.5,1.51 4.37,3.86 0,4.18 -2.73,7.86 -2.67,12.05 0.31,4.17 3.66,7.31 4.2,11.39 0.48,2.38 -1.37,4.76 -3.76,4.99 -4.17,0.48 -8.64,-0.57 -12.57,1.33 -3.12,1.86 -5.13,5.01 -7.83,7.36 -2.05,1.8 -5.63,0.89 -6.73,-1.55 -1.45,-3.67 -1.59,-7.95 -4.01,-11.2 -3.18,-2.8 -7.73,-3.12 -11.18,-5.48 -1.93,-1.39 -1.97,-4.57 -0.2,-6.1 3.14,-2.97 7.34,-4.73 10.07,-8.17 1.39,-3.62 1.42,-7.61 2.26,-11.36 0.2,-1.31 1.15,-2.42 2.38,-2.89z"
28+
android:strokeWidth="0.757497"
29+
android:fillColor="#f9ad0c"/>
30+
<path
31+
android:pathData="m520.76,336.99c2.22,-1.25 5,-0.44 6.89,1.08 3.69,2.92 7.32,6.18 11.82,7.81 4.56,0.85 9.13,-1.23 13.71,-0.69 2.8,0.38 5.23,3.11 4.78,5.99 -0.71,4.67 -3.12,8.94 -3.62,13.66 0.39,4.96 3.67,9.03 5.14,13.67 0.64,2.29 -0.21,4.98 -2.25,6.29 -1.83,1.37 -4.23,1.11 -6.37,1.11 -3.54,-0.16 -7.08,0.24 -10.57,0.82 -4.49,2.14 -7.26,6.48 -10.99,9.58 -2.45,2.11 -6.88,1.24 -7.93,-1.95 -1.72,-4.64 -2.44,-9.68 -4.88,-14.03 -3.34,-4.01 -8.86,-4.82 -13.14,-7.4 -2.98,-1.71 -3.29,-6.41 -0.73,-8.63 3.84,-3.48 8.79,-5.71 12.11,-9.76 1.7,-4.13 2.07,-8.64 2.95,-12.99 0.34,-1.86 1.29,-3.73 3.08,-4.55z"
32+
android:strokeWidth="0.757497"
33+
android:fillColor="#f9ad0c"/>
34+
<path
35+
android:pathData="m125.28,345.36c2.98,-1.64 5.23,1.73 5.83,4.25 0.74,3.65 4.95,3.95 7.7,5.33 1.51,0.55 2.57,2.2 1.98,3.8 -1.23,2.61 -3.92,4.14 -5.33,6.62 -0.74,2.71 1,6.24 -1.61,8.27 -2.24,2.05 -5,-0.6 -7.28,-1.27 -2.71,-1.47 -5.54,0.36 -8.24,0.85 -1.64,0.51 -3.55,-0.59 -3.8,-2.32 -0.4,-2.74 0.82,-5.53 0.18,-8.26 -1.01,-2.01 -2.64,-3.63 -3.56,-5.67 -0.52,-1.23 -0.15,-2.86 1.02,-3.58 2.21,-1.3 5.03,-0.53 7.25,-1.8 2.46,-1.55 3.55,-4.48 5.84,-6.22z"
36+
android:strokeWidth="0.757497"
37+
android:fillColor="#f9ad0c"/>
38+
<path
39+
android:pathData="m432.3,473.33c3.14,-1.76 4.98,2.14 6.94,3.88 2.51,3.1 7.01,1.09 10.16,2.69 2.97,2.64 -0.7,6.08 -1.73,8.79 -2.26,3.23 2.21,6.79 0.27,10.01 -2,2.76 -5.55,0.65 -8.23,0.48 -3.98,-1.27 -6.49,4.33 -10.38,2.91 -3.4,-2.3 -0.79,-7.67 -4.01,-10.17 -1.57,-1.56 -4.6,-2.53 -4.23,-5.22 0.2,-2.89 3.58,-3.51 5.64,-4.73 3.68,-1.44 2.71,-6.44 5.57,-8.65z"
40+
android:strokeWidth="0.757497"
41+
android:fillColor="#f9ad0c"/>
42+
<path
43+
android:pathData="m364.06,138.88c3.36,-1.7 7.34,0.27 9.28,3.19 4.64,6.67 4.64,15.86 0.98,22.97 -1.08,2.17 -3.44,3.89 -5.95,3.37 -3.28,-0.56 -5.48,-3.42 -6.84,-6.25 -2.35,-5.14 -3.18,-11.03 -1.95,-16.57 0.68,-2.61 1.89,-5.48 4.48,-6.71z"
44+
android:strokeWidth="0.757497"
45+
android:fillColor="#26a56c"/>
46+
<path
47+
android:pathData="m391.07,149.97c5.57,-2.76 12.32,-3.8 18.23,-1.51 2.48,0.87 4.36,3.39 3.95,6.09 -0.73,5.31 -2.65,10.51 -5.61,14.98 -4.36,6.56 -12.44,10.42 -20.28,9.67 -2.45,-0.18 -4.48,-1.62 -6.42,-2.99 4.73,-3.67 9.94,-6.71 14.68,-10.35 1.5,-0.95 -0.01,-2.58 -0.58,-3.64 -5.42,3.41 -10.45,7.39 -15.9,10.76 -1.23,-2.89 -2.48,-6.12 -1.38,-9.26 2.19,-6.23 7.44,-10.97 13.3,-13.74z"
48+
android:strokeWidth="0.757497"
49+
android:fillColor="#26a56c"/>
50+
<path
51+
android:pathData="m494.26,258.37c3.15,-1.6 6.81,0.36 8.76,2.95 4.76,6.35 5.12,15.2 2.05,22.35 -1.23,2.7 -4.13,5.08 -7.26,4.28 -3.63,-1.23 -5.87,-4.78 -7.15,-8.2 -1.58,-4.67 -2.14,-9.82 -0.94,-14.63 0.77,-2.61 1.9,-5.55 4.55,-6.76z"
52+
android:strokeWidth="0.757497"
53+
android:fillColor="#26a56c"/>
54+
<path
55+
android:pathData="m520.9,269.96c5.66,-2.84 12.51,-3.89 18.57,-1.69 2.4,0.84 4.47,3.18 4.06,5.86 -0.95,6.91 -3.68,13.81 -8.7,18.78 -6.06,5.86 -16.59,8.36 -23.63,2.84 4.92,-3.43 9.89,-6.79 14.69,-10.39 1.53,-0.94 -0.1,-2.55 -0.66,-3.58 -5.36,3.42 -10.45,7.23 -15.76,10.7 -2.16,-2.97 -2.83,-7.03 -1.27,-10.42 2.33,-5.63 7.45,-9.41 12.71,-12.1z"
56+
android:strokeWidth="0.757497"
57+
android:fillColor="#26a56c"/>
58+
<path
59+
android:pathData="m114.02,415.17c3.18,-1 6.55,0.52 8.56,3.03 5.7,6.95 5.88,17.13 2.3,25.1 -1.27,2.7 -4.18,4.99 -7.3,4.32 -3.55,-0.92 -5.9,-4.13 -7.36,-7.29 -2.45,-5.54 -3.32,-11.94 -1.75,-17.84 0.86,-2.96 2.47,-6.2 5.56,-7.31z"
60+
android:strokeWidth="0.757497"
61+
android:fillColor="#26a56c"/>
62+
<path
63+
android:pathData="m144.64,427.45c5.45,-2.18 11.71,-2.5 17.34,-0.8 2.69,0.73 4.95,3.4 4.33,6.3 -1.46,9.82 -6.24,20.33 -15.72,24.69 -5.9,2.47 -13.78,3.57 -18.82,-1.26 5.26,-3.86 10.76,-7.4 15.83,-11.51 1.68,-0.93 0.15,-2.58 -0.39,-3.7 -6.44,3.3 -11.82,8.28 -17.91,12.14 -1.67,-3.42 -2.46,-7.45 -1.06,-11.11 2.61,-7.29 9.54,-11.89 16.39,-14.73z"
64+
android:strokeWidth="0.757497"
65+
android:fillColor="#26a56c"/>
66+
<path
67+
android:pathData="m268.6,501.61c3.47,-1.45 7.36,0.36 9.38,3.31 4.89,6.83 5.23,16.45 1.42,23.84 -1.29,2.67 -4.48,4.51 -7.39,3.33 -3.89,-1.63 -6.18,-5.65 -7.33,-9.52 -1.38,-5.05 -1.86,-10.52 -0.18,-15.56 0.68,-2.19 1.98,-4.35 4.1,-5.39z"
68+
android:strokeWidth="0.757497"
69+
android:fillColor="#26a56c"/>
70+
<path
71+
android:pathData="m303.46,511.4c4.53,-0.74 9.45,-0.74 13.7,1.23 2.14,0.94 3.16,3.44 2.83,5.68 -0.81,6.29 -3.24,12.45 -7.23,17.41 -4.66,5.73 -12.21,9.11 -19.6,8.36 -2.61,-0.23 -4.98,-1.49 -6.95,-3.16 5.26,-3.89 10.9,-7.27 15.99,-11.39 1.27,-0.89 -0.48,-2.11 -0.81,-3.01 -6.26,2.98 -11.38,7.85 -17.4,11.26 -1.69,-3.3 -2.61,-7.28 -1.03,-10.81 3.68,-8.23 11.95,-13.56 20.51,-15.58z"
72+
android:strokeWidth="0.757497"
73+
android:fillColor="#26a56c"/>
74+
<path
75+
android:pathData="m379.15,172.97c5.45,-3.36 10.48,-7.35 15.9,-10.76 0.57,1.06 2.08,2.68 0.58,3.64 -4.74,3.64 -9.95,6.68 -14.68,10.35 -2.73,2.05 -5.62,3.93 -8.76,5.31 -0.29,-0.37 -0.86,-1.12 -1.15,-1.5 -0.01,-0.33 -0.04,-0.98 -0.05,-1.3 2.74,-1.88 5.45,-3.8 8.15,-5.74z"
76+
android:strokeWidth="0.757497"
77+
android:fillColor="#1a1c1f"/>
78+
<path
79+
android:pathData="m509.46,292.47c5.32,-3.47 10.41,-7.28 15.76,-10.7 0.56,1.04 2.19,2.64 0.66,3.58 -4.8,3.6 -9.77,6.96 -14.69,10.39 -2.61,1.96 -5.42,3.64 -8.04,5.58 -0.9,0.92 -2.2,0.57 -3.31,0.54 -0.1,-1.05 -0.63,-2.45 0.57,-3.08 2.92,-2.23 6.05,-4.17 9.04,-6.31z"
80+
android:strokeWidth="0.757497"
81+
android:fillColor="#1a1c1f"/>
82+
<path
83+
android:pathData="m129.31,453.3c6.09,-3.86 11.47,-8.84 17.91,-12.14 0.55,1.13 2.08,2.77 0.39,3.7 -5.07,4.11 -10.57,7.66 -15.83,11.51 -3.2,2.2 -6.43,4.39 -9.68,6.51 -1.36,0.51 -1.94,-1.13 -2.7,-1.84 2.39,-3.51 6.61,-5.2 9.91,-7.76z"
84+
android:strokeWidth="0.757497"
85+
android:fillColor="#1a1c1f"/>
86+
<path
87+
android:pathData="m283.97,537.79c6.02,-3.42 11.14,-8.28 17.4,-11.26 0.33,0.9 2.08,2.12 0.81,3.01 -5.09,4.11 -10.73,7.5 -15.99,11.39 -2.5,1.82 -5.03,3.59 -7.55,5.38 -0.83,0.77 -1.98,0.65 -3.01,0.64 -0.27,-0.54 -0.82,-1.61 -1.09,-2.14 2.69,-2.88 6.31,-4.65 9.44,-7.01z"
88+
android:strokeWidth="0.757497"
89+
android:fillColor="#1a1c1f"/>
90+
</vector>

demo-snippets/vue/Failure.vue

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<template>
2+
<Page>
3+
<ActionBar>
4+
<Label text="Simple Grid" />
5+
</ActionBar>
6+
7+
<GridLayout rows="300, auto, auto, auto, auto, auto">
8+
<NSImg height="200" width="400"
9+
placeholderImageUri="res://icon_star"
10+
backgroundColor="blue"
11+
failureImageUri="res://icon_not_found"
12+
showProgressBar="true"
13+
failure="onFailure"
14+
src="http://error.jpgerror" />
15+
16+
</GridLayout>
17+
</Page>
18+
</template>
19+
20+
<script lang="ts">
21+
import { ImageSource } from '@nativescript/core';
22+
import { Img } from '@nativescript-community/ui-image';
23+
import { ScaleType } from '@nativescript-community/ui-image/index-common';
24+
25+
26+
export default {
27+
data() {
28+
return {
29+
};
30+
},
31+
methods: {
32+
33+
}
34+
};
35+
</script>
36+
37+
<style scoped lang="scss">
38+
ActionBar {
39+
background-color: #42b883;
40+
}
41+
.item {
42+
padding: 10;
43+
color: white;
44+
.title {
45+
font-size: 17;
46+
font-weight: bold;
47+
}
48+
.subtitle {
49+
font-size: 14;
50+
}
51+
}
52+
</style>

demo-snippets/vue/install.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { installMixins } from '@nativescript-community/ui-image-colorfilter';
99
import Simple from './Simple.vue';
1010
import ZoomImage from './ZoomImage.vue';
1111
import ColorFilter from './ColorFilter.vue';
12+
import Failure from './Failure.vue';
1213
import NavigationTest from './NavigationTest.vue';
1314

1415
// Trace.addCategories('NativescriptImage');
@@ -23,6 +24,7 @@ export function installPlugin() {
2324

2425
export const demos = [
2526
{ name: 'Simple', path: 'simple', component: Simple },
27+
{ name: 'Failure', path: 'failure', component: Failure },
2628
{ name: 'hero', path: 'navigation', component: NavigationTest },
2729
{ name: 'ZoomImage', path: 'zoom', component: ZoomImage },
2830
{ name: 'ColorFilter', path: 'color-filter', component: ColorFilter }

0 commit comments

Comments
 (0)