diff --git a/board.svg b/board.svg index d3a5e7f..7009e68 100644 --- a/board.svg +++ b/board.svg @@ -41,7 +41,7 @@ inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="8.2888628" - inkscape:cx="8.7438681" + inkscape:cx="-13.152984" inkscape:cy="22.864462" inkscape:document-units="px" inkscape:current-layer="layer1" @@ -61,7 +61,7 @@ image/svg+xml - + @@ -71,21 +71,22 @@ id="layer1"> + transform="matrix(1.07372,0,0,1.2253945,-3.3921025,-6.4292846)" + style="fill:#ffffff;fill-opacity:1"> diff --git a/departure.png b/departure.png index 0dbf7ca..6e597cd 100644 Binary files a/departure.png and b/departure.png differ diff --git a/departure.svg b/departure.svg index 8d86936..626b7a6 100644 --- a/departure.svg +++ b/departure.svg @@ -17,9 +17,9 @@ version="1.0" sodipodi:docname="departure.svg" inkscape:output_extension="org.inkscape.output.svg.inkscape" - inkscape:export-filename="F:\Workspaces\Android\bartrunner\res\drawable-hdpi\departure_icon.png" - inkscape:export-xdpi="60" - inkscape:export-ydpi="60"> + inkscape:export-filename="F:\Workspaces\Android\bartrunner-git\departure.png" + inkscape:export-xdpi="160" + inkscape:export-ydpi="160"> diff --git a/res/menu/route_context_menu.xml b/res/menu/route_context_menu.xml index 41f6c9e..2caed0e 100644 --- a/res/menu/route_context_menu.xml +++ b/res/menu/route_context_menu.xml @@ -3,13 +3,13 @@ diff --git a/res/menu/route_menu.xml b/res/menu/route_menu.xml index 466cf0e..10a14fb 100644 --- a/res/menu/route_menu.xml +++ b/res/menu/route_menu.xml @@ -3,13 +3,13 @@ diff --git a/res/menu/routes_list_menu.xml b/res/menu/routes_list_menu.xml index cedd391..31b8fe2 100644 --- a/res/menu/routes_list_menu.xml +++ b/res/menu/routes_list_menu.xml @@ -3,13 +3,13 @@ diff --git a/src/com/dougkeen/bart/NotificationService.java b/src/com/dougkeen/bart/NotificationService.java index 4d3a6f3..0d43f19 100644 --- a/src/com/dougkeen/bart/NotificationService.java +++ b/src/com/dougkeen/bart/NotificationService.java @@ -294,12 +294,12 @@ public class NotificationService extends Service implements EtdServiceListener { Builder notificationBuilder = new NotificationCompat.Builder(this) .setOngoing(true) - .setSmallIcon(R.drawable.icon) + .setSmallIcon(R.drawable.ic_stat_notification) .setContentTitle( mStationPair.getOrigin().shortName + " to " + mStationPair.getDestination().shortName) .setContentText(minutesText + " until departure") - .setContentIntent(mNotificationIntent); + .setContentIntent(mNotificationIntent).setWhen(0); mNotificationManager.notify(DEPARTURE_NOTIFICATION_ID, notificationBuilder.getNotification()); } diff --git a/src/com/dougkeen/bart/ViewDeparturesActivity.java b/src/com/dougkeen/bart/ViewDeparturesActivity.java index ffff4f8..7b11a0b 100644 --- a/src/com/dougkeen/bart/ViewDeparturesActivity.java +++ b/src/com/dougkeen/bart/ViewDeparturesActivity.java @@ -469,8 +469,8 @@ public class ViewDeparturesActivity extends SherlockFragmentActivity implements refreshBoardedDeparture(); // Stop the notification service - /*stopService(new Intent(getApplicationContext(), - NotificationService.class));*/ + stopService(new Intent(getApplicationContext(), + NotificationService.class)); // Don't prompt for alert if train is about to leave if (mSelectedDeparture.getMeanSecondsLeft() / 60 > 1) {