How do you programatically change the width and height of a com.google.android.gms.maps.SupportMapFragment? I\'d imagine you might be able to wrap it in a viewgroup with mat
You should not fix height of a map... set it according to screen height & width.
DisplayMetrics displaymetrics = new DisplayMetrics();
getActivity().getWindowManager().getDefaultDisplay().getMetrics(displaymetrics);
int height = displaymetrics.heightPixels;
ViewGroup.LayoutParams params = mMapFragment.getView().getLayoutParams();
params.height = height/2;
mMapFragment.getView().setLayoutParams(params);