Code example for MapFragment

0
import android.view.Menu; 
import android.view.MenuInflater; 
import android.view.View; 
import android.view.ViewGroup; 
 
public class FindFoodFragment extends MapFragment {
 
    /*public View onCreateView(LayoutInflater inflater, ViewGroup container, 
                             Bundle savedInstanceState) { 
    	 
    	 
        // Inflate the layout for this fragment 
        return inflater.inflate(R.layout.activity_main, container, false); 
    }*/ 
     
    public void onCreate(Bundle savedInstanceState) {
    	super.onCreate(savedInstanceState);
    	this.setHasOptionsMenu(true);
    } 
     
    @Override