circle_details_comment_layout.xml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:orientation="vertical" android:layout_width="match_parent"
  6. android:layout_height="match_parent">
  7. <RelativeLayout
  8. android:layout_width="match_parent"
  9. android:layout_height="wrap_content"
  10. android:padding="10dp">
  11. <com.netease.nim.uikit.common.ui.imageview.HeadImageView
  12. android:id="@+id/circle_details_comment_layout_avatar"
  13. android:layout_width="48dp"
  14. android:layout_height="48dp"
  15. android:src="@drawable/nim_avatar_default"
  16. app:layout_constraintLeft_toLeftOf="parent"
  17. app:layout_constraintTop_toTopOf="parent" />
  18. <LinearLayout
  19. android:layout_width="match_parent"
  20. android:layout_height="wrap_content"
  21. android:layout_marginLeft="60dp"
  22. android:orientation="vertical"
  23. android:paddingTop="5dp">
  24. <TextView
  25. android:id="@+id/circle_details_comment_layout_name"
  26. android:layout_width="match_parent"
  27. android:layout_height="wrap_content"
  28. android:text="用户名"
  29. android:textColor="@color/blue" />
  30. <TextView
  31. android:id="@+id/circle_details_comment_layout_date"
  32. android:layout_width="match_parent"
  33. android:layout_height="wrap_content"
  34. android:text="发布时间"/>
  35. <TextView
  36. android:id="@+id/circle_details_comment_layout_content"
  37. android:layout_width="match_parent"
  38. android:layout_height="wrap_content"
  39. android:textColor="@color/black"/>
  40. </LinearLayout>
  41. </RelativeLayout>
  42. </LinearLayout>