Code example for Polyline

0
package com.tripcostcalculator.view; 
 
import java.util.Scanner; 
import android.graphics.Color; 
import com.google.android.gms.maps.model.PolylineOptions; 
import com.google.android.gms.maps.model.Polyline; 
import com.tripcostcalculator.R; 
import android.widget.TextView; 
import android.view.Menu; 
import com.google.android.gms.maps.CameraUpdateFactory; 
import com.google.android.gms.maps.GoogleMap; 
import com.google.android.gms.maps.MapFragment; 
import com.google.android.gms.maps.model.LatLng; 
import com.google.android.gms.maps.model.Marker; 
import com.google.android.gms.maps.model.MarkerOptions;