我两天前的坚持与相对layout..here我是线性布局安卓:如何应对相对布局
所以它的精细我的屏幕快照。但现在我想在地图上的某个地方添加刷新按钮,但是我发现它不可能具有线性布局。所以我试图在相对布局,但不能甚至得到如上屏幕。 我的页脚布局始终在顶部显示。这里是我的XML代码
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/LinearLayout1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<!-- include title bar for all screen -->
<include
android:id="@+id/include1"
layout="@layout/titlebar_layout" />
<com.google.android.maps.MapView
android:id="@+id/map"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1.63"
android:apiKey="0VkXbAOFvAq7b6uaGHSmnS2a2VosPxoS6ceHY_g"
android:clickable="true" >
</com.google.android.maps.MapView>
<include
android:id="@+id/include2"
android:layout_marginBottom="38dp"
layout="@layout/bottom_layout"/>
</LinearLayout>
任何帮助将不胜感激。在此先感谢
你在哪里想要把刷新按钮? – Renjith
感谢reply..i希望把它在MapView的 –