Code example for SupportMapFragment

 * Simple custom SupportMapFragment that adds a margin and initializes a custom view. 
 * @author ddewaele 
public class SimpleContainerMapFragment extends SupportMapFragment {
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		super.onCreateView(inflater, container, savedInstanceState);
		View view = inflater.inflate(R.layout.support_map_fragment, container,false);
		ViewUtils.initializeMargin(getActivity(), view);
		return view;
Connect your IDE to all the code out there  Get Codota for Java