I am displaying an image with text and button for single. It's working correctly. I want to add one more image with text and button. How to write the layout?
Next layout I want exactly the same as the first layout with changing positions and without using ListView
I want to display.
Can anyone please help me?
xml
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<ImageView
android:id="@+id/image1"
android:layout_width="140dp"
android:layout_height="103dp"
android:src="@drawable/arun_arora_chairman" />
<TextView
android:id="@+id/name1"
android:layout_width="134dp"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/click1"
android:layout_alignParentTop="true"
android:text="Arun Arora Chairman, Edvance Group"
android:textSize="16dp" />
<Button
android:id="@+id/click1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/name1"
android:layout_marginLeft="39dp"
android:layout_toRightOf="@+id/image1"
android:text="Readmore" />
</RelativeLayout>