Problem:
<fragment xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/map"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/spr_place_type"
class="com.google.android.gms.maps.SupportMapFragment" />
Solution:
<fragment xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/map"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/spr_place_type"
class="com.google.android.gms.maps.SupportMapFragment" />
Solution:
12
down vote
|
Remove
xmlns:android="http://schemas.android.com/apk/res/android" from the <fragment> element, and consider moving xmlns:map="http://schemas.android.com/apk/res-auto" from the <fragment> element to the root element.For example, this is valid:
|
No comments:
Post a Comment