Here is the actual result:

This is my RSS . I want the picture to be on top, and a brief description below it.

image_text_layout.xml :

 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content"> <ImageView android:id="@+id/feed_image" android:layout_width="wrap_content" android:layout_height="wrap_content" android:paddingTop="5dip" android:paddingRight="3dip" /> <TextView android:id="@+id/job_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:textColor="#000a2c" android:paddingTop="5dip" android:paddingBottom="28dip" android:paddingLeft="8dip" android:paddingRight="8dip" /> </LinearLayout> 

news.xml :

  <?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" android:orientation="vertical" > <ListView android:id="@+id/android:list" android:layout_width="fill_parent" android:layout_height="wrap_content" android:divider="#000a2c" android:dividerHeight="0px" /> </RelativeLayout> 

2 answers 2

Do LinearLayout orientation is vertical android:orientation="vertical"

  • Fine! Thank you very much!! - Imire

Or use RelativeLayout