circle_new_comment.xml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:orientation="vertical" android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:gravity="bottom"
  6. android:id="@+id/new_comment_layout"
  7. >
  8. <View
  9. android:layout_width="match_parent"
  10. android:layout_height="1dp"
  11. android:background="@color/grey_light"/>
  12. <LinearLayout
  13. android:layout_width="match_parent"
  14. android:layout_height="wrap_content"
  15. android:gravity="center_vertical"
  16. android:paddingStart="16dp"
  17. android:paddingEnd="16dp"
  18. android:paddingTop = "8dp"
  19. android:paddingBottom="8dp"
  20. android:background="@color/white">
  21. <EditText
  22. android:id="@+id/new_comment_ET"
  23. android:layout_weight="9"
  24. android:layout_width="wrap_content"
  25. android:layout_height="wrap_content"
  26. android:hint="我要评论"
  27. android:textColorHint="@color/grey_light"
  28. android:background="@drawable/shape_edittext_rc_solid_bg_grey"
  29. android:padding="8dp"/>
  30. <ImageView
  31. android:id="@+id/new_comment_submit_img"
  32. android:layout_width="32dp"
  33. android:layout_height="32dp"
  34. android:src="@drawable/ico_circle_new_comment"/>
  35. </LinearLayout>
  36. </LinearLayout>