Code example for SupportMapFragment

0
 * Simple custom SupportMapFragment that adds a margin and initializes a custom view. 
 *  
 * @author ddewaele 
 * 
 */ 
public class SimpleContainerMapFragment extends SupportMapFragment {
 
	@Override 
	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;
		 
	} 
	 
}