item_activity_workdaily.xml 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:background="@color/item_color2"
  6. android:orientation="vertical"
  7. >
  8. <LinearLayout
  9. android:layout_width="match_parent"
  10. android:layout_height="wrap_content"
  11. android:layout_marginLeft="10dp"
  12. android:layout_marginRight="10dp"
  13. android:orientation="vertical"
  14. >
  15. <View
  16. android:layout_width="wrap_content"
  17. android:layout_marginLeft="10dp"
  18. android:layout_marginRight="10dp"
  19. android:layout_height="1dp"
  20. android:background="@color/gainsboro"
  21. android:layout_marginTop="2dp"
  22. android:visibility="gone"/>
  23. <RelativeLayout
  24. android:layout_width="wrap_content"
  25. android:layout_height="wrap_content"
  26. android:layout_marginTop="2dp"
  27. >
  28. <TextView
  29. android:id="@+id/item_activity_workdaily_time_tv"
  30. android:layout_width="wrap_content"
  31. android:layout_height="wrap_content"
  32. android:gravity="left|top"
  33. android:text="2016-11-02"
  34. android:textColor="#000000"
  35. android:layout_marginLeft="10dp"
  36. android:layout_marginTop="10dp"
  37. android:layout_marginBottom="5dp"
  38. android:textSize="16sp" />
  39. <TextView
  40. android:id="@+id/item_activity_workdaily_status"
  41. android:layout_width="wrap_content"
  42. android:layout_height="wrap_content"
  43. android:text="待审批"
  44. android:layout_alignParentRight="true"
  45. android:layout_marginRight="10dp"
  46. android:textColor="@color/red"
  47. android:layout_marginTop="10dp"
  48. android:layout_marginBottom="5dp"
  49. android:textSize="15sp"/>
  50. </RelativeLayout>
  51. <View
  52. android:layout_width="wrap_content"
  53. android:layout_marginLeft="10dp"
  54. android:layout_marginRight="10dp"
  55. android:layout_height="1dp"
  56. android:background="@color/lightgray"
  57. android:layout_marginTop="2dp"/>
  58. <TextView
  59. android:layout_width="wrap_content"
  60. android:layout_height="wrap_content"
  61. android:text="工作总结"
  62. android:layout_marginLeft="10dp"
  63. android:layout_marginTop="5dp"
  64. android:layout_marginBottom="0dp"
  65. android:textSize="16sp"
  66. android:textColor="#575757"
  67. />
  68. <TextView
  69. android:id="@+id/item_activity_workdaily_summary_tv"
  70. android:layout_width="match_parent"
  71. android:layout_height="wrap_content"
  72. android:layout_marginTop="0dp"
  73. android:layout_toRightOf="@id/avatar_img"
  74. android:maxLines="3"
  75. android:ellipsize="end"
  76. android:layout_marginLeft="15dp"
  77. android:layout_marginRight="15dp"
  78. android:paddingBottom="5dp"
  79. android:textSize="14sp"
  80. android:textColor="#575757"
  81. />
  82. </LinearLayout>
  83. <View
  84. android:layout_width="match_parent"
  85. android:layout_height="8dp"
  86. android:background="@color/gainsboro"
  87. />
  88. </LinearLayout>