title: Adding PlaceAutocompleteFragment to fragment throws error
body: <p>I have implemented PlaceAutocompleteFragment in activity and is working successfuly. But how to implement the same in fragment in android?
  I have implemented placeautocomplete fragment like this</p>
  
  <pre><code> PlaceAutocompleteFragment autocompleteFragment1 = (PlaceAutocompleteFragment)
              getFragmentManager().findFragmentById(R.id.place_autocomplete_fragment1);
  </code></pre>
  
  <p>Error I am getting is</p>
  
  <blockquote>
    <p>Incovertible types;cannot cast 'android.support.v4.app.Fragment' to com.google.android.gms.location.PlaceAutocompleteFragment '.</p>
  </blockquote>
  
  <p>XML LAYOUT IS </p>
  
  <pre><code>  &lt;android.support.v7.widget.CardView
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:background="@drawable/button_background"
              card_view:cardCornerRadius="4dp"
              card_view:contentPadding="0dp"&gt;
          &lt;fragment
              android:id="@+id/place_autocomplete_fragment"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:hint="Enter Place"
              android:background="#fff"
              android:name="com.google.android.gms.location.places.ui.PlaceAutocompleteFragment"
              /&gt;
              &lt;/android.support.v7.widget.CardView&gt;
  </code></pre>
  
  <p>Thanks in advance</p>