Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:background="@drawable/list_selector"
- android:orientation="horizontal"
- android:padding="5dip" >
- <ImageView
- android:id="@+id/list_image"
- android:layout_width="50dip"
- android:layout_height="50dip"
- android:layout_alignParentLeft="true"
- android:src="@drawable/ic_launcher" />
- <!-- Title Of Song -->
- <TextView
- android:id="@+id/title"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="5dp"
- android:layout_toRightOf="@+id/list_image"
- android:text="love you the"
- android:textColor="#040404"
- android:textSize="15dip"
- android:textStyle="bold"
- android:typeface="sans" />
- <!-- Artist Name -->
- <TextView
- android:id="@+id/artist"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_below="@id/title"
- android:layout_marginLeft="5dp"
- android:layout_marginTop="1dip"
- android:layout_toRightOf="@+id/list_image"
- android:text="Mary"
- android:textColor="#343434"
- android:textSize="10sp" />
- <!-- Rightend Duration -->
- <TextView
- android:id="@+id/duration"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentRight="true"
- android:layout_alignTop="@id/title"
- android:layout_marginRight="5dip"
- android:text="7:45"
- android:textColor="#10bcc9"
- android:textSize="10dip"
- android:textStyle="bold" />
- <!-- Rightend Arrow -->
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginRight="5dp"
- android:layout_toLeftOf="@+id/duration"
- android:src="@drawable/ic_launcher" />
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment