-
i’m trying to build a basic layout for each activity. the layout have an action bar and a footer.
i have no problem to show the footer in a regular activity, but the MapView activity doesn’t show my footer although i’m adding it to the xml:<include layout="@layout/actionbar" android:layout_height="wrap_content" android:layout_width="fill_parent"> </include> <com.google.android.maps.MapView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/mapView" android:layout_width="fill_parent" android:layout_height="fill_parent" android:clickable="true" android:enabled="true" android:apiKey="@string/mapAppId" /> <include layout="@layout/footer" android:layout_height="wrap_content" android:layout_width="fill_parent"> </include> -
is there a way to load my markers in the MapView after the map has finished loading ? now sometimes my markers are showed before the map done loading..
thanks!
ok i found the error in may map
this is the correct code:
pay attention the android:layout_height and android:layout_weight in the map.
i still don’t really know how to check if the map is already loaded before showing the markers