PDA

Ver la Versión Completa : button en mapview


gohan0189
03/03/12, 18:25:43
hola
como puedo poner un button encima del mapview????, alguien me puede ayudarme

monchyrcg
05/03/12, 19:19:11
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >

<Button
android:id="@+id/boton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Boton"/>
<com.google.android.maps.MapView
android:id="@+id/mapa"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:apiKey="06BPv..................."
android:clickable="true" />

</LinearLayout>

gohan0189
05/03/12, 20:36:45
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >

<Button
android:id="@+id/boton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Boton"/>
<com.google.android.maps.MapView
android:id="@+id/mapa"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:apiKey="06BPv..................."
android:clickable="true" />

</LinearLayout>



pero asi saldra el boton arriba del mapview pero yo lo que quiero es poner el boton mmm por encima osea q se vea el mapa abajo del boton