Ver Mensaje Individual
  #2 (permalink)  
Antiguo 10/06/2011, 06:03
Avatar de masterpuppet
masterpuppet
Software Craftsman
 
Fecha de Ingreso: enero-2008
Ubicación: Montevideo, Uruguay
Mensajes: 3.550
Antigüedad: 16 años, 2 meses
Puntos: 845
Respuesta: ¿Cómo dividir la pantalla en dos columnas iguales?

Podría ser algo así:

layout.xml
Código XML:
Ver original
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    android:orientation="horizontal" android:layout_width="fill_parent"
  4.    android:layout_height="fill_parent">
  5.     <LinearLayout
  6.         android:layout_width="wrap_content"
  7.        android:layout_height="fill_parent"
  8.        android:layout_weight="1"
  9.        android:background="#0000ff"
  10.        android:orientation="horizontal">              
  11.     </LinearLayout>
  12.     <LinearLayout
  13.         android:layout_width="wrap_content"
  14.        android:layout_height="fill_parent"
  15.        android:layout_weight="1"  
  16.        android:layout_gravity="left"
  17.        android:background="#ffffcc"
  18.        android:orientation="horizontal">              
  19.     </LinearLayout>
  20. </LinearLayout>

Saludos.
__________________
http://es.phptherightway.com/
thats us riders :)