diff --git a/src/com/dougkeen/bart/activities/AddRouteDialogFragment.java b/src/com/dougkeen/bart/activities/AddRouteDialogFragment.java index 967872e..46c9fd2 100644 --- a/src/com/dougkeen/bart/activities/AddRouteDialogFragment.java +++ b/src/com/dougkeen/bart/activities/AddRouteDialogFragment.java @@ -4,12 +4,18 @@ import android.content.ContentValues; import android.view.View; import android.widget.CheckBox; +import com.dougkeen.bart.BartRunnerApplication; import com.dougkeen.bart.R; import com.dougkeen.bart.data.RoutesColumns; import com.dougkeen.bart.model.Constants; import com.dougkeen.bart.model.Station; public class AddRouteDialogFragment extends AbstractRouteSelectionFragment { + public AddRouteDialogFragment() { + super(BartRunnerApplication.getAppContext().getString( + R.string.add_route)); + } + public AddRouteDialogFragment(String title) { super(title); } diff --git a/src/com/dougkeen/bart/activities/QuickRouteDialogFragment.java b/src/com/dougkeen/bart/activities/QuickRouteDialogFragment.java index bda8654..b115506 100644 --- a/src/com/dougkeen/bart/activities/QuickRouteDialogFragment.java +++ b/src/com/dougkeen/bart/activities/QuickRouteDialogFragment.java @@ -2,11 +2,18 @@ package com.dougkeen.bart.activities; import android.content.Intent; +import com.dougkeen.bart.BartRunnerApplication; +import com.dougkeen.bart.R; import com.dougkeen.bart.model.Constants; import com.dougkeen.bart.model.Station; public class QuickRouteDialogFragment extends AbstractRouteSelectionFragment { + public QuickRouteDialogFragment() { + super(BartRunnerApplication.getAppContext().getString( + R.string.quick_departure_lookup)); + } + public QuickRouteDialogFragment(String title) { super(title); }