Skip to content

Commit

Permalink
Add Compass image (codebutler#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
micolous committed Aug 27, 2018
1 parent 63d44c4 commit 94ff74c
Show file tree
Hide file tree
Showing 3 changed files with 103 additions and 0 deletions.
80 changes: 80 additions & 0 deletions extra/yvr-compass.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ public class CardInfo {
.build();

public static final CardInfo COMPASS = new CardInfo.Builder()
.setImageId(R.drawable.yvr_compass_card)
.setName(CompassUltralightTransitData.NAME)
.setLocation(R.string.location_vancouver)
.setCardType(CardType.MifareUltralight)
Expand Down
22 changes: 22 additions & 0 deletions src/main/res/drawable/yvr_compass_card.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="233dp"
android:height="160dp"
android:viewportWidth="303.30707"
android:viewportHeight="191.26772">
<path
android:pathData="m13.13,0h275.18l15,13.13v79.71l-5.65,3.75v58.13l5.65,3.75v19.69l-13.13,13.13L13.13,191.27L0,178.14v-20.63l5.63,-3.75L5.63,97.52L0,91.89v-78.77z"
android:strokeLineCap="butt"
android:fillAlpha="1"
android:fillType="evenOdd"
android:strokeColor="#00000000"
android:fillColor="#d8d8d8"
android:strokeWidth="1"
android:strokeLineJoin="miter"
android:strokeAlpha="1"/>
<path
android:pathData="m103.76,56.05c-0.22,-0.35 -0.49,-4.88 -0.61,-10.07 -0.24,-10.46 0.07,-12.23 2.13,-12.23 0.69,0 1.39,0.23 1.57,0.51 0.2,0.32 0.86,0.23 1.78,-0.25 0.81,-0.42 2.36,-0.76 3.46,-0.76 7.42,0 10.02,11.23 3.54,15.28 -1.59,0.99 -3.4,1.09 -7.25,0.41 -0.93,-0.16 -1.04,0.16 -1.27,3.63 -0.24,3.67 -0.3,3.82 -1.6,3.97 -0.74,0.09 -1.53,-0.13 -1.74,-0.48zM113.59,45.17c2.75,-1.92 2.26,-6.56 -0.82,-7.84 -1.99,-0.83 -3.47,-0.3 -4.67,1.67 -1.37,2.24 -1.23,3.73 0.5,5.46 1.65,1.65 3.31,1.88 4.99,0.71zM41.27,51.21c-5.73,-3.02 -7.8,-8.99 -5.12,-14.76 1.85,-3.97 4.04,-5.2 10.82,-6.05 6.53,-0.82 9.63,-0.89 10.04,-0.24 0.39,0.63 -0.62,11.94 -1.29,14.4 -0.67,2.49 -3.24,5.38 -5.81,6.54 -2.5,1.13 -6.6,1.18 -8.65,0.1zM49.65,48.86c2.1,-1.11 4.34,-4.1 3.77,-5.03 -0.54,-0.87 -3.22,-0.39 -4.69,0.84 -3.15,2.65 -7.21,0.82 -7.21,-3.24 0,-1.62 0.3,-2.27 1.56,-3.33 0.86,-0.72 1.9,-1.32 2.31,-1.32 1.02,0 3.42,1.28 4.23,2.25 0.7,0.84 3.34,1.1 3.79,0.37 0.6,-0.97 -1.63,-3.94 -3.78,-5.04 -2.64,-1.36 -5.02,-1.45 -7.43,-0.31 -6.06,2.88 -6.19,11.67 -0.22,14.78 2.83,1.47 4.9,1.47 7.67,0.01zM61.88,48.18c-4.56,-3.84 -4.1,-10.37 0.96,-13.78 4.1,-2.76 9.28,-0.65 10.98,4.47 1.08,3.26 0.34,6.08 -2.29,8.71 -1.8,1.8 -2.12,1.93 -5,1.93 -2.57,0 -3.33,-0.22 -4.65,-1.33zM69.36,44.61c2,-2.2 1.22,-6.22 -1.43,-7.31 -1.91,-0.79 -3.4,-0.23 -4.58,1.71 -1.67,2.75 -1.13,5.27 1.44,6.66 1.7,0.92 3.06,0.6 4.56,-1.05zM76.84,48.88c-0.15,-0.38 -0.2,-3.89 -0.12,-7.79l0.14,-7.09 2.54,-0.1c1.4,-0.05 3.32,-0.26 4.28,-0.45 1.25,-0.25 2.22,-0.09 3.45,0.57 1.61,0.87 1.81,0.87 3.49,0.07 2.35,-1.12 4.68,-1.07 6.68,0.15 2.71,1.65 3.26,3.35 3.09,9.56l-0.14,5.46 -1.47,0.17c-0.84,0.1 -1.66,-0.12 -1.9,-0.51 -0.24,-0.37 -0.43,-2.79 -0.44,-5.38 -0.01,-4.06 -0.15,-4.85 -1.05,-5.75 -1.21,-1.21 -2.78,-0.97 -4.17,0.63 -0.71,0.82 -0.89,1.99 -0.89,5.79 0,4.69 -0.02,4.77 -1.31,5.09 -0.72,0.18 -1.5,0.13 -1.73,-0.12 -0.23,-0.25 -0.51,-2.71 -0.62,-5.47 -0.19,-4.52 -0.33,-5.12 -1.39,-5.99 -0.76,-0.61 -1.58,-0.85 -2.26,-0.64 -2.23,0.66 -2.59,1.55 -2.85,6.96l-0.25,5.2 -1.4,0.16c-0.84,0.1 -1.51,-0.12 -1.67,-0.53zM124.16,47.35c-1.6,-1.62 -2.23,-2.71 -2.49,-4.35 -0.47,-2.99 0.38,-5.77 2.34,-7.69 1.93,-1.89 3.27,-2.31 5.85,-1.83 1.05,0.19 3.23,0.32 4.84,0.29l2.94,-0.06 -0.14,7.77c-0.13,7.14 -0.22,7.78 -1.1,7.95 -0.53,0.1 -1.5,-0.11 -2.16,-0.46 -0.93,-0.5 -1.49,-0.51 -2.5,-0.05 -0.71,0.33 -2.23,0.59 -3.38,0.59 -1.77,0 -2.4,-0.32 -4.22,-2.16zM131.59,45.4c2.81,-1.5 2.74,-6.38 -0.11,-7.86 -2.07,-1.07 -2.91,-0.94 -4.59,0.74 -1.66,1.66 -1.89,3.38 -0.73,5.61 1.06,2.06 3.26,2.67 5.43,1.51zM143.1,48.72c-1.47,-0.8 -2.43,-2.18 -2.43,-3.5 0,-1.11 2.38,-1.03 4.73,0.17 2.02,1.03 3.48,0.93 4.51,-0.31 0.52,-0.62 0.46,-0.89 -0.33,-1.47 -0.53,-0.39 -1.44,-0.71 -2.01,-0.71 -3.49,-0.01 -6.89,-2.17 -6.89,-4.36 0,-3.64 2.77,-5.57 7.46,-5.18 2.44,0.2 3.1,0.48 4.33,1.87 1.84,2.06 1.43,2.79 -1.3,2.37 -4.22,-0.65 -6.17,-0.58 -6.17,0.23 0,0.71 1.81,1.46 5.51,2.27 3.3,0.72 4.88,4.23 3.07,6.82 -1.71,2.44 -7.48,3.43 -10.47,1.81zM158.23,47.93c-2.35,-2.06 -2.41,-3.51 -0.14,-3.49 0.91,0.01 2.1,0.35 2.64,0.76 1.29,0.98 4.05,0.96 4.88,-0.04 0.95,-1.14 0.13,-1.71 -3.7,-2.58 -1.82,-0.41 -3.79,-1.21 -4.39,-1.76 -1.56,-1.45 -1.44,-4.04 0.27,-5.74 1.67,-1.67 3.04,-2.03 6.4,-1.71 2.12,0.2 2.88,0.55 4.05,1.87 2.35,2.63 1.63,2.91 -4.72,1.8 -1.29,-0.23 -1.99,-0.1 -2.44,0.44 -0.82,0.99 -0.35,1.27 3.64,2.2 3.84,0.9 5.44,2.26 5.44,4.64 0,1.3 -0.44,2.18 -1.73,3.47 -1.61,1.61 -1.95,1.73 -5.07,1.73 -3.01,0 -3.52,-0.16 -5.14,-1.58z"
android:fillAlpha="1"
android:fillColor="#49b1e4"
android:strokeWidth="0.5084396"/>
</vector>

0 comments on commit 94ff74c

Please sign in to comment.