android listview mapview,RelativeLayout和并列ListView/MapView
我嘗試使用RelativeLayout并排放置ListView和MapView。然而我的MapView總是高于ListView。RelativeLayout和并列ListView/MapView
這里是我的main.xml布局:
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
android:id="@+id/mapview"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:clickable="true"
android:apiKey="0uZMgFMDqZETDVYg843CSoC8rHyuV01ypwz2C2Q"
android:layout_alignParentRight="true" android:layout_alignParentTop="true" />
android:layout_height="wrap_content" android:smoothScrollbar="true"
android:background="#fff" android:cacheColorHint="#fff"
android:fastScrollEnabled="false" android:clickable="true"
android:layout_alignParentLeft="true" android:layout_alignParentTop="true"
android:layout_marginBottom="36dp" />
2011-06-27
kudos
總結
以上是生活随笔為你收集整理的android listview mapview,RelativeLayout和并列ListView/MapView的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 上海租赁备案对房东的影响(上海办租赁备案
- 下一篇: android数据流分类,【Androi