1
我試圖爲每個活動建立一個基本的佈局。佈局有一個行動欄和一個頁腳。 我沒有問題,顯示在做股票頁腳,但是MapView的活動不顯示我的頁腳雖然我將它添加到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>
有沒有辦法來加載我的標記在地圖完成加載後的MapView中?現在有時我的標記顯示在地圖完成加載之前..
謝謝!
沒有我發現它的問題是,之前,機器人已經加載:layout_height =「FILL_PARENT」在地圖 。有什麼方法可以告訴他爲我的腳註留下空間? – 2012-04-18 20:08:40