Advertisement
Guest User

layout.xml

a guest
Nov 26th, 2013
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.72 KB | None | 0 0
  1. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. android:layout_width="wrap_content"
  3. android:layout_height="wrap_content"
  4. android:layout_marginLeft="5dp"
  5. android:layout_marginRight="5dp"
  6. android:background="@drawable/image_list_back" >
  7.  
  8. <ImageView
  9. android:id="@+id/petopenlist_profPic"
  10. android:layout_width="50dp"
  11. android:layout_height="50dp"
  12. android:layout_marginLeft="10dp"
  13. android:layout_marginTop="10dp"
  14. android:background="@drawable/border"
  15. android:src="@drawable/image_profile" />
  16.  
  17. <TextView
  18. android:id="@+id/petopenlist_fullname"
  19. android:layout_width="wrap_content"
  20. android:layout_height="wrap_content"
  21. android:layout_alignTop="@+id/petopenlist_profPic"
  22. android:layout_marginLeft="10dp"
  23. android:layout_toRightOf="@+id/petopenlist_profPic"
  24. android:text="Romanas Procopie"
  25. android:textAppearance="?android:attr/textAppearanceMedium"
  26. android:textColor="@color/blue"
  27. android:textStyle="bold" />
  28.  
  29. <ImageView
  30. android:id="@+id/imageView2"
  31. android:layout_width="20dp"
  32. android:layout_height="20dp"
  33. android:layout_alignLeft="@+id/petopenlist_statusMsg"
  34. android:layout_alignTop="@+id/petopenlist_radius"
  35. android:src="@drawable/abs__ic_cab_done_holo_light" />
  36.  
  37. <TextView
  38. android:id="@+id/petopenlist_radius"
  39. android:layout_width="wrap_content"
  40. android:layout_height="wrap_content"
  41. android:layout_below="@+id/petopenlist_profPic"
  42. android:layout_toRightOf="@+id/imageView2"
  43. android:text="14 km"
  44. android:textAppearance="?android:attr/textAppearanceSmall"
  45. android:layout_marginLeft="5dp"
  46. />
  47.  
  48. <ImageView
  49. android:id="@+id/ImageView01"
  50. android:layout_width="20dp"
  51. android:layout_height="20dp"
  52. android:layout_below="@+id/petopenlist_radius"
  53. android:layout_toLeftOf="@+id/petopenlist_radius"
  54. android:layout_marginTop="2dp"
  55. android:src="@drawable/abs__ic_cab_done_holo_light" />
  56.  
  57. <TextView
  58. android:id="@+id/petopenlist_location"
  59. android:layout_width="wrap_content"
  60. android:layout_height="wrap_content"
  61. android:layout_alignLeft="@+id/petopenlist_radius"
  62. android:layout_below="@+id/petopenlist_radius"
  63. android:text="str. Bucuresti, Chisinau, Moldova"
  64. android:textSize="12sp"
  65. android:maxLines="2"
  66. android:ellipsize="end"
  67. android:layout_marginTop="5dp"
  68. />
  69.  
  70. <TextView
  71. android:id="@+id/petopenlist_statusMsg"
  72. android:layout_marginTop="5dp"
  73. android:layout_width="wrap_content"
  74. android:layout_height="wrap_content"
  75. android:layout_alignLeft="@+id/petopenlist_fullname"
  76. android:layout_below="@+id/petopenlist_fullname"
  77. android:text="Here is my status message"
  78. android:textAppearance="?android:attr/textAppearanceSmall" />
  79.  
  80. <it.sephiroth.android.library.widget.HListView
  81. android:id="@+id/hListView1"
  82. android:layout_width="match_parent"
  83. android:layout_height="wrap_content"
  84. android:layout_alignParentLeft="true"
  85. android:layout_below="@+id/ImageView01"
  86. android:layout_marginTop="19dp" >
  87. </it.sephiroth.android.library.widget.HListView>
  88.  
  89. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement