From 94ff74c2ce4d0a8c4301eba814dc1fb9fc91364e Mon Sep 17 00:00:00 2001 From: Michael Farrell Date: Mon, 27 Aug 2018 17:11:49 +1000 Subject: [PATCH] Add Compass image (#127) --- extra/yvr-compass.svg | 80 +++++++++++++++++++ .../micolous/metrodroid/transit/CardInfo.java | 1 + src/main/res/drawable/yvr_compass_card.xml | 22 +++++ 3 files changed, 103 insertions(+) create mode 100644 extra/yvr-compass.svg create mode 100644 src/main/res/drawable/yvr_compass_card.xml diff --git a/extra/yvr-compass.svg b/extra/yvr-compass.svg new file mode 100644 index 000000000..1549f0161 --- /dev/null +++ b/extra/yvr-compass.svg @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/src/main/java/au/id/micolous/metrodroid/transit/CardInfo.java b/src/main/java/au/id/micolous/metrodroid/transit/CardInfo.java index 86670ed73..4a4119068 100644 --- a/src/main/java/au/id/micolous/metrodroid/transit/CardInfo.java +++ b/src/main/java/au/id/micolous/metrodroid/transit/CardInfo.java @@ -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) diff --git a/src/main/res/drawable/yvr_compass_card.xml b/src/main/res/drawable/yvr_compass_card.xml new file mode 100644 index 000000000..cb9d69f6d --- /dev/null +++ b/src/main/res/drawable/yvr_compass_card.xml @@ -0,0 +1,22 @@ + + + +