Merge branch 'develop' of https://github.com/SemvdH/Next-Location into develop
This commit is contained in:
@@ -97,7 +97,7 @@ public class RouteDetailFragment extends Fragment {
|
||||
public void startRoute(View view) {
|
||||
ApiHandler.INSTANCE.getDirections(route);
|
||||
RouteHandler.INSTANCE.followRoute(route);
|
||||
Toast.makeText(requireContext(), "Route started!", Toast.LENGTH_SHORT).show();
|
||||
Toast.makeText(requireContext(), R.string.route_started_toast, Toast.LENGTH_SHORT).show();
|
||||
// navigates to the HomeFragment and refreshes the BottomNavigation
|
||||
refreshable.refreshAndNavigateTo(R.id.locations);
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:width="32dp"
|
||||
android:height="32dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24"
|
||||
android:tint="?attr/colorControlNormal">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:width="32dp"
|
||||
android:height="32dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24"
|
||||
android:tint="?attr/colorControlNormal">
|
||||
|
||||
@@ -34,4 +34,5 @@
|
||||
<string name="notification_text">Je bent bijna bij %1$s</string>
|
||||
<string name="hour">uur</string>
|
||||
<string name="minutes">minuten</string>
|
||||
<string name="route_started_toast">Route is gestart!</string>
|
||||
</resources>
|
||||
@@ -32,4 +32,5 @@
|
||||
<string name="start_location">Start location</string>
|
||||
<string name="hour">hour</string>
|
||||
<string name="minutes">minutes</string>
|
||||
<string name="route_started_toast">Route started!</string>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user