I have to create layout that have one image and multiple textview and rating like this and i have add a line on inflating this layout with adapter
| Image| Name of Product |
| Desc |
| Amount |
| EMI details |
| Rating Sybmol total Rating |
So i have tried to create a layout like this
<RelativeLayout xmlns:android="http://ift.tt/nIICcg"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
<LinearLayout
android:id="@+id/mainLinearLayout"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:orientation="horizontal" >
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@mipmap/ic_launcher"
android:layout_marginTop="5dp"
android:layout_marginLeft="10dp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:layout_marginLeft="10dp"
android:id="@+id/text"
android:text="Micromax Canvas Spark"
android:textColor="@android:color/black" />
</LinearLayout>
</RelativeLayout>
But i am confused how i can create the layout please help me in this
Aucun commentaire:
Enregistrer un commentaire