<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<ImageView
android:id="@+id/imageView1"
android:layout_width="fill_parent"
android:layout_height="80dp"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:adjustViewBounds="true"
android:scaleType="fitXY"
android:src="@drawable/background_compra_rapida" >
</ImageView>
<ImageView
android:id="@+id/imageView2"
android:layout_width="151dp"
android:layout_height="62dp"
android:src="@drawable/modura" android:layout_marginLeft="8dp" android:layout_marginTop="8dp"/>
<ImageView
android:id="@+id/image_fast_buy_program"
android:layout_width="147dp"
android:layout_height="58dp"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:layout_marginLeft="10dp"
android:layout_marginTop="10dp"
android:adjustViewBounds="true"
android:scaleType="fitXY"
android:src="@drawable/filme" />
<TextView
android:id="@+id/fast_buy_program_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@+id/image_fast_buy_program"
android:layout_marginLeft="10dp"
android:layout_toRightOf="@+id/image_fast_buy_program"
android:text="TextView"
android:textColor="@color/preta" />
<ImageView
android:id="@+id/fast_buy_hd_flag"
android:layout_width="30dip"
android:layout_height="wrap_content"
android:layout_alignBottom="@+id/image_fast_buy_program"
android:layout_alignLeft="@+id/fast_buy_program_name"
android:adjustViewBounds="true"
android:src="@drawable/hd_flag" />
</RelativeLayout><?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/background"
android:orientation="vertical" >
<ImageView
android:id="@+id/imageView1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:scaleType="fitXY"
android:src="@drawable/logo" >
</ImageView>
<ImageView
android:id="@+id/text"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:scaleType="fitXY"
android:src="@drawable/text" >
</ImageView>
<ListView
android:id="@+id/list"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:animationCache="false"
android:focusableInTouchMode="false"
android:isScrollContainer="false" >
</ListView>
</LinearLayout>Segue o xml da tela da lista e da célula customizada.
posta o xml
Lúcio Maciel
luciofm@gmail.com
2011/11/10 Thiago Pilon <t.pilon@gmail.com>Boa noite,Estou com um problema em um lista com células customizadas, quando faço um scroll na lista, algumas células encolhem, deixando o layout bem estranho. Segue um print para visulização.
--
Att,
Thiago de Paiva Pilon
Att,
Thiago de Paiva Pilon
www.assinchronus.com.br






0 comentários:
Postar um comentário