Programación y Desarrollo para Android Subforo exclusivo para temas de programación de software para PDAs y desarrollo de aplicaciones, interfaces, etc bajo Android


 
Herramientas
  #1  
Viejo 03/03/12, 18:25:43
Avatar de gohan0189
gohan0189 gohan0189 no está en línea
Miembro del foro
Mensajes: 190
 
Fecha de registro: feb 2012
Mensajes: 190
Tu operador: TELCEL
Mencionado: 0 comentarios
Tagged: 0 hilos
button en mapview

hola
como puedo poner un button encima del mapview????, alguien me puede ayudarme
Responder Con Cita


  #2  
Viejo 05/03/12, 19:19:11
Avatar de monchyrcg
monchyrcg monchyrcg no está en línea
Miembro del foro
Mensajes: 384
 
Fecha de registro: sep 2011
Localización: Cartagena
Mensajes: 384
Modelo de smartphone: LG Optimus Black
Versión de ROM: v10d
Tu operador: Orange
Mencionado: 0 comentarios
Tagged: 0 hilos
Código:
<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>
Responder Con Cita
  #3  
Viejo 05/03/12, 20:36:45
Avatar de gohan0189
gohan0189 gohan0189 no está en línea
Miembro del foro
Mensajes: 190
 
Fecha de registro: feb 2012
Mensajes: 190
Tu operador: TELCEL
Mencionado: 0 comentarios
Tagged: 0 hilos
Cita:
Originalmente Escrito por monchyrcg Ver Mensaje
Código:
<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
Responder Con Cita
Respuesta

Estás aquí
Regresar   HTCMania > Todo sobre Android > Programación y Desarrollo para Android


Reglas de Mensajes
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Las caritas están On
Código [IMG] está On
Código HTML está Off

Saltar a Foro



Hora actual: 09:37:33 (GMT +1)

Cookies settings
Powered by vBulletin™
Copyright © vBulletin Solutions, Inc. All rights reserved.
 
HTCMania: líderes desde el 2007