Guest User

Untitled

a guest
Jun 13th, 2014
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.09 KB | None | 0 0
  1. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. android:layout_width="fill_parent"
  3. android:layout_height="wrap_content"
  4. android:background="@drawable/list_selector"
  5. android:orientation="horizontal"
  6. android:padding="5dip" >
  7.  
  8. <ImageView
  9. android:id="@+id/list_image"
  10. android:layout_width="50dip"
  11. android:layout_height="50dip"
  12. android:layout_alignParentLeft="true"
  13. android:src="@drawable/ic_launcher" />
  14.  
  15. <!-- Title Of Song -->
  16.  
  17. <TextView
  18. android:id="@+id/title"
  19. android:layout_width="wrap_content"
  20. android:layout_height="wrap_content"
  21. android:layout_marginLeft="5dp"
  22. android:layout_toRightOf="@+id/list_image"
  23. android:text="love you the"
  24. android:textColor="#040404"
  25. android:textSize="15dip"
  26. android:textStyle="bold"
  27. android:typeface="sans" />
  28.  
  29. <!-- Artist Name -->
  30.  
  31. <TextView
  32. android:id="@+id/artist"
  33. android:layout_width="fill_parent"
  34. android:layout_height="wrap_content"
  35. android:layout_below="@id/title"
  36. android:layout_marginLeft="5dp"
  37. android:layout_marginTop="1dip"
  38. android:layout_toRightOf="@+id/list_image"
  39. android:text="Mary"
  40. android:textColor="#343434"
  41. android:textSize="10sp" />
  42.  
  43. <!-- Rightend Duration -->
  44.  
  45. <TextView
  46. android:id="@+id/duration"
  47. android:layout_width="wrap_content"
  48. android:layout_height="wrap_content"
  49. android:layout_alignParentRight="true"
  50. android:layout_alignTop="@id/title"
  51. android:layout_marginRight="5dip"
  52. android:text="7:45"
  53. android:textColor="#10bcc9"
  54. android:textSize="10dip"
  55. android:textStyle="bold" />
  56.  
  57. <!-- Rightend Arrow -->
  58.  
  59. <ImageView
  60. android:layout_width="wrap_content"
  61. android:layout_height="wrap_content"
  62. android:layout_marginRight="5dp"
  63. android:layout_toLeftOf="@+id/duration"
  64. android:src="@drawable/ic_launcher" />
  65.  
  66. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment