online_people_item.xml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="wrap_content"
  5. android:paddingTop="10dp"
  6. android:orientation="horizontal">
  7. <ImageView
  8. android:id="@+id/identity_image"
  9. android:layout_width="wrap_content"
  10. android:layout_height="wrap_content"
  11. android:layout_centerVertical="true"
  12. android:layout_marginLeft="10dp"
  13. android:visibility="gone"/>
  14. <com.sheishuo.app.chatroom.widget.ChatRoomImageView
  15. android:id="@+id/user_head"
  16. android:layout_width="35dp"
  17. android:layout_height="35dp"
  18. android:layout_centerVertical="true"
  19. android:layout_marginLeft="10dp"
  20. android:layout_toRightOf="@id/identity_image" />
  21. <TextView
  22. android:id="@+id/user_name"
  23. android:layout_width="wrap_content"
  24. android:layout_height="wrap_content"
  25. android:layout_centerVertical="true"
  26. android:layout_marginLeft="10dp"
  27. android:layout_toRightOf="@id/user_head"
  28. android:textColor="@color/color_black_ff666666"
  29. android:textSize="@dimen/text_size_15" />
  30. <View
  31. android:layout_width="match_parent"
  32. android:layout_height="1px"
  33. android:layout_marginLeft="10dp"
  34. android:layout_marginRight="10dp"
  35. android:layout_marginTop="10dp"
  36. android:layout_below="@id/user_head"
  37. android:background="@color/color_split_line_d9d9d9" />
  38. </RelativeLayout>