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
this is an example using onConfigurationChanged() method :
onConfigurationChanged()
@Override public void onConfigurationChanged(Configuration newConfig) { super.onConfigurationChanged(newConfig); setContentView(R.layout.main); findViewById(R.id.storefront_map).getLayoutParams().width = 400; }