title: Binary XML file line #26: Duplicate id, tag null, or parent id with another fragment
body: <p>I'm trying to insert a fragment to another and I’ve succeed to do this until I’ve lunch the main fragment for the first time it's working but when I’m trying to reload the fragment the app crash, and i have this error:           </p>
  
  <pre><code>Caused by: java.lang.IllegalArgumentException: Binary XML file line #26:
  Duplicate id 0x7f0e00e2, tag null, or parent id 0xffffffff with another
  fragment for com.google.android.gms.location.places.ui.PlaceAutocompleteFragment
  </code></pre>
  
  <p>This is my fragment</p>
  
  <pre><code>@Override
  public View onCreateView(LayoutInflater inflater, ViewGroup container,
  Bundle savedInstanceState) {
  
  View  rootView = inflater.inflate(R.layout.source_destination,container, false);
  PlaceAutocompleteFragment sourcr_autocompleteFragment = (PlaceAutocompleteFragment)
            getActivity().getFragmentManager()
  .findFragmentById(R.id.sourcr_autocomplete_fragment);
  return rootView;
  
  // List item
  
  }
  </code></pre>
  
  <p><strong>This is my XML</strong>   </p>
  
  <pre><code> &lt;?xml version="1.0" encoding="utf-8"?&gt;
      &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
          android:orientation="vertical"
          android:padding="10dp"
          android:background="@color/colorPrimary"
          android:layout_width="match_parent"
          android:layout_height="match_parent"&gt;
         &lt;android.support.v7.widget.CardView
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:layout_marginTop="@dimen/margin_medium"
              android:layout_marginBottom="@dimen/margin_medium"&gt;
  
              &lt;fragment
                  android:id="@+id/sourcr_autocomplete_fragment"    
                  android:name="com.google.android.gms.location.places.ui.PlaceAutocompleteFragment"           
                android:layout_width="match_parent"
                android:layout_height="wrap_content" /&gt;
  
          &lt;/android.support.v7.widget.CardView&gt;
      &lt;/LinearLayout&gt;
  </code></pre>