Avisos

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

Respuesta
 
Herramientas
  #1  
Viejo 09/01/14, 19:13:54
Array

[xs_avatar]
modeag modeag no está en línea
Usuario muy activo
 
Fecha de registro: nov 2010
Mensajes: 1,471
Tu operador: Otra

Otra duda

tengo el siguiente layout:

<?
xmlversion="1.0"encoding="utf-8"?>

<
LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"

android:layout_width="match_parent"

android:layout_height="match_parent"

androidrientation="vertical">

<View

android:layout_width="match_parent"

android:layout_height="1dip"

android:background="#FF0000"/>

<ListView

android:id="@android:id/list"

android:layout_width="match_parent"

android:layout_height="wrap_content">

<ListView>

<TextView

android:id="@android:id/empty"

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:text="@string/text_library_empty"/>

<View

android:layout_width="match_parent"

android:layout_height="1dip"

android:background="#FF0000"/>

<LinearLayout

android:layout_width="match_parent"

android:layout_height="wrap_content"

androidrientation="horizontal">

<Button

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:layout_weight="1"

android:background="@drawable/button_sel"

android:paddingTop="15dp"

android:text="@string/button_library"

android:textColor="@android:color/white"/>

<Button

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:layout_weight="1"

android:background="@drawable/button_no_sel"

androidnClick="Cerrar"

android:paddingTop="15dp"

android:text="@string/button_player"

android:textColor="@android:color/white"/>

<Button

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:layout_weight="1"

android:background="@drawable/button_no_sel"

androidnClick="Equalizer"

android:paddingTop="15dp"

android:text="@string/button_equalizer"

android:textColor="@android:color/white"/>

<LinearLayout>

<
LinearLayout>
Como puedo hacer para que el ListView me ocupe todo el resto de la pantalla pero sin ocultar lo que viene detrás, es decir que el ListView cuando tiene muchos elementos me oculta:
<View

android:layout_width="match_parent"

android:layout_height="1dip"

android:background="#FF0000"/>

<LinearLayout

android:layout_width="match_parent"

android:layout_height="wrap_content"

androidrientation="horizontal">

<Button

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:layout_weight="1"

android:background="@drawable/button_sel"

android:paddingTop="15dp"

android:text="@string/button_library"

android:textColor="@android:color/white"/>

<Button

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:layout_weight="1"

android:background="@drawable/button_no_sel"

androidnClick="Cerrar"

android:paddingTop="15dp"

android:text="@string/button_player"

android:textColor="@android:color/white"/>

<Button

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:layout_weight="1"

android:background="@drawable/button_no_sel"

androidnClick="Equalizer"

android:paddingTop="15dp"

android:text="@string/button_equalizer"

android:textColor="@android:color/white" />

<LinearLayout>

<
LinearLayout>
esta parte porque no cabe en la pantalla, como puedo arreglarlo?

Responder Con Cita


Respuesta

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



Hora actual: 02:48:28 (GMT +2)



User Alert System provided by Advanced User Tagging (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.

Contactar por correo / Contact by mail / 邮件联系 /