title: Google map showing on fragment on top of activity
body: <p>My app is correctly displaying a google map on an activity, but when I open a <strong>fragment over the activity</strong> the <strong>map also shows</strong> on that too.</p>
  
  <p>Here's how I'm opening the fragment</p>
  
  <pre><code>public void ivItemsOnClick(View view) {
      FragmentManager fm = getSupportFragmentManager();
      ItemsFragment itemsFragment = new ItemsFragment();
      Bundle bundle = new Bundle();
      bundle.putString(ORDER_ID, firebaseOrders.get(pageIndicatorView.getCurrentPage()).getId());
      itemsFragment.setArguments(bundle);
      fm.beginTransaction()
              .replace(R.id.delivery_frame, itemsFragment)
              .addToBackStack(ItemsFragment.class.getSimpleName())
              .commit();
  }
  </code></pre>
  
  <p>And here is my map setup</p>
  
  <pre><code>//onCreate
      mapFragment = new MapFragment();
      getFragmentManager().beginTransaction().add(R.id.map_fragment, mapFragment).commit();
      mapFragment.getMapAsync(new OnMapReadyCallback() {
          @Override
          public void onMapReady(GoogleMap googleMap) {
              map = googleMap;
  
              map.setMapType(GoogleMap.MAP_TYPE_NORMAL);
              map.getUiSettings().setAllGesturesEnabled(false);
              map.getUiSettings().setTiltGesturesEnabled(false);
              map.getUiSettings().setZoomControlsEnabled(false);
              map.getUiSettings().setCompassEnabled(false);
              map.getUiSettings().setMyLocationButtonEnabled(false);
  
              //Initialize Google Play Services
              if (android.os.Build.VERSION.SDK_INT &gt;= Build.VERSION_CODES.M) {
                  if (ContextCompat.checkSelfPermission(getApplicationContext(),
                          Manifest.permission.ACCESS_FINE_LOCATION)
                          == PackageManager.PERMISSION_GRANTED) {
                      buildGoogleApiClient();
                      map.setMyLocationEnabled(true);
                  }
              } else {
                  buildGoogleApiClient();
                  map.setMyLocationEnabled(true);
                  Toast.makeText(getApplicationContext(), "permission denied", Toast.LENGTH_SHORT).show();
              }
          }
      });
  </code></pre>
  
  <p>Here is the xml for the map which is inside a constraint layout</p>
  
  <pre><code>    &lt;android.support.constraint.ConstraintLayout
          android:layout_width="match_parent"
          android:layout_height="match_parent"&gt;
  
          &lt;fragment
              android:id="@+id/map_fragment"
              android:name="com.google.android.gms.maps.SupportMapFragment"
              android:layout_width="0dp"
              android:layout_height="0dp"
              app:layout_constraintBottom_toBottomOf="parent"
              app:layout_constraintEnd_toEndOf="parent"
              app:layout_constraintStart_toStartOf="parent"
              app:layout_constraintTop_toTopOf="parent" /&gt;
  
      &lt;/android.support.constraint.ConstraintLayout&gt;
  </code></pre>