activity_task_add.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. xmlns:whatever="http://schemas.android.com/apk/res-auto"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:fillViewport="true">
  8. <LinearLayout
  9. android:layout_width="match_parent"
  10. android:layout_height="match_parent"
  11. android:orientation="vertical"
  12. tools:context="com.xzjmyk.pm.activity.ui.erp.activity.crm.VisitReportPlanActivity">
  13. <RelativeLayout
  14. android:id="@+id/rl_name"
  15. style="@style/form_relative_customer"
  16. android:background="@color/item_color2">
  17. <TextView
  18. android:id="@+id/name_text"
  19. android:layout_width="wrap_content"
  20. android:layout_height="wrap_content"
  21. android:layout_centerVertical="true"
  22. android:drawablePadding="10dp"
  23. android:gravity="center"
  24. android:layout_marginLeft="20dp"
  25. android:text="名称"
  26. android:textColor="@color/text_main"
  27. android:textSize="@dimen/text_main" />
  28. <TextView
  29. style="@style/form_relative_left_text"
  30. android:layout_marginLeft="60dp"
  31. android:layout_toRightOf="@+id/name_text"
  32. android:text="*"
  33. android:textColor="@color/red" />
  34. <!-- android:drawableRight="@drawable/nav_icon_search_default"-->
  35. <com.andreabaccega.widget.FormEditText xmlns:editTextFormExample="http://schemas.android.com/apk/res-auto"
  36. android:id="@+id/tv_name"
  37. style="@style/form_relative_right_text"
  38. editTextFormExample:testType="nocheck"
  39. android:hint="请输入" />
  40. </RelativeLayout>
  41. <RelativeLayout
  42. android:id="@+id/sex_erp_rl"
  43. style="@style/form_relative_customer"
  44. android:background="@color/white">
  45. <TextView
  46. android:id="@+id/sex_text"
  47. android:layout_width="wrap_content"
  48. android:layout_height="wrap_content"
  49. android:layout_centerVertical="true"
  50. android:layout_marginLeft="20dp"
  51. android:gravity="center"
  52. android:text="执行人"
  53. android:textColor="@color/text_main"
  54. android:textSize="@dimen/text_main" />
  55. <TextView
  56. style="@style/form_relative_left_text"
  57. android:layout_marginLeft="43dp"
  58. android:layout_toRightOf="@+id/sex_text"
  59. android:text="*"
  60. android:textColor="@color/red" />
  61. <com.andreabaccega.widget.FormEditText xmlns:editTextFormExample="http://schemas.android.com/apk/res-auto"
  62. android:id="@+id/tv_executive"
  63. style="@style/form_relative_right_text"
  64. android:drawableRight="@drawable/nav_icon_search_default"
  65. editTextFormExample:testType="nocheck"
  66. android:hint="请选择" />
  67. </RelativeLayout>
  68. <RelativeLayout
  69. style="@style/form_relative_customer"
  70. android:background="@color/white">
  71. <TextView
  72. android:id="@+id/tv_id1"
  73. android:layout_width="wrap_content"
  74. android:layout_height="wrap_content"
  75. android:layout_marginLeft="20dp"
  76. android:layout_centerVertical="true"
  77. android:gravity="center"
  78. android:text="开始日期"
  79. android:textColor="@color/text_main"
  80. android:textSize="@dimen/text_main" />
  81. <TextView
  82. style="@style/form_relative_left_text"
  83. android:layout_marginLeft="25dp"
  84. android:layout_toRightOf="@+id/tv_id1"
  85. android:text="*"
  86. android:textColor="@color/red" />
  87. <com.andreabaccega.widget.FormEditText xmlns:editTextFormExample="http://schemas.android.com/apk/res-auto"
  88. android:id="@+id/tv_date_start"
  89. style="@style/form_relative_right_text"
  90. android:drawableRight="@drawable/nav_icon_search_default"
  91. editTextFormExample:testType="nocheck"
  92. android:hint="请选择" />
  93. </RelativeLayout>
  94. <RelativeLayout
  95. android:id="@+id/company_erp_rl"
  96. style="@style/form_relative_customer"
  97. android:background="@color/white">
  98. <TextView
  99. android:id="@+id/tv_id2"
  100. android:layout_width="wrap_content"
  101. android:layout_height="wrap_content"
  102. android:layout_centerVertical="true"
  103. android:layout_marginLeft="20dp"
  104. android:drawablePadding="10dp"
  105. android:gravity="center"
  106. android:text="截止日期"
  107. android:textColor="@color/text_main"
  108. android:textSize="@dimen/text_main" />
  109. <TextView
  110. style="@style/form_relative_left_text"
  111. android:layout_marginLeft="25dp"
  112. android:layout_toRightOf="@+id/tv_id2"
  113. android:text="*"
  114. android:textColor="@color/red" />
  115. <com.andreabaccega.widget.FormEditText xmlns:editTextFormExample="http://schemas.android.com/apk/res-auto"
  116. android:id="@+id/tv_date"
  117. style="@style/form_relative_right_text"
  118. android:drawableRight="@drawable/nav_icon_search_default"
  119. editTextFormExample:testType="nocheck"
  120. android:hint="请选择" />
  121. </RelativeLayout>
  122. <RelativeLayout
  123. android:id="@+id/deparment_erp_rl"
  124. style="@style/form_relative_customer"
  125. android:background="@color/white">
  126. <TextView
  127. android:id="@+id/tv_id3"
  128. android:layout_width="wrap_content"
  129. android:layout_height="wrap_content"
  130. android:layout_centerVertical="true"
  131. android:layout_marginLeft="20dp"
  132. android:drawablePadding="10dp"
  133. android:gravity="center"
  134. android:text="紧急程度"
  135. android:textColor="@color/text_main"
  136. android:textSize="@dimen/text_main" />
  137. <TextView
  138. style="@style/form_relative_left_text"
  139. android:layout_marginLeft="25dp"
  140. android:layout_toRightOf="@+id/tv_id3"
  141. android:text="*"
  142. android:textColor="@color/red" />
  143. <com.andreabaccega.widget.FormEditText xmlns:editTextFormExample="http://schemas.android.com/apk/res-auto"
  144. android:id="@+id/tv_priority"
  145. style="@style/form_relative_right_text"
  146. android:drawableRight="@drawable/nav_icon_search_default"
  147. editTextFormExample:testType="nocheck"
  148. android:hint="请选择" />
  149. </RelativeLayout>
  150. <RelativeLayout
  151. android:id="@+id/position_erp_rl"
  152. style="@style/form_relative_customer"
  153. android:background="@color/white">
  154. <TextView
  155. android:id="@+id/position_text"
  156. android:layout_width="wrap_content"
  157. android:layout_height="wrap_content"
  158. android:layout_centerVertical="true"
  159. android:layout_marginLeft="20dp"
  160. android:drawablePadding="10dp"
  161. android:gravity="center"
  162. android:text="类型"
  163. android:textColor="@color/text_main"
  164. android:textSize="@dimen/text_main" />
  165. <com.andreabaccega.widget.FormEditText xmlns:editTextFormExample="http://schemas.android.com/apk/res-auto"
  166. android:id="@+id/tv_type"
  167. style="@style/form_relative_right_text"
  168. editTextFormExample:testType="nocheck"
  169. android:text="任务" />
  170. </RelativeLayout>
  171. <RelativeLayout
  172. android:id="@+id/tel_erp_rl"
  173. style="@style/IMTbleLine_UP_Me"
  174. android:layout_marginBottom="1dp"
  175. android:background="@color/white"
  176. android:visibility="gone">
  177. <TextView
  178. android:id="@+id/customer_text"
  179. android:layout_width="wrap_content"
  180. android:layout_height="wrap_content"
  181. android:layout_centerVertical="true"
  182. android:drawablePadding="10dp"
  183. android:gravity="center"
  184. android:text="关联客户"
  185. android:textColor="@color/text_main"
  186. android:textSize="@dimen/text_main" />
  187. <com.andreabaccega.widget.FormEditText xmlns:editTextFormExample="http://schemas.android.com/apk/res-auto"
  188. android:id="@+id/tv_customer"
  189. style="@style/form_relative_right_text"
  190. editTextFormExample:testType="nocheck"
  191. android:hint="请选择" />
  192. </RelativeLayout>
  193. <RelativeLayout
  194. android:id="@+id/startTime_erp_rl"
  195. style="@style/IMTbleLine_UP_Me"
  196. android:layout_marginBottom="1dp"
  197. android:background="@color/white"
  198. android:visibility="gone">
  199. <TextView
  200. android:id="@+id/startTime_text"
  201. android:layout_width="wrap_content"
  202. android:layout_height="wrap_content"
  203. android:layout_centerVertical="true"
  204. android:drawablePadding="10dp"
  205. android:gravity="center"
  206. android:text="提醒"
  207. android:textColor="@color/text_main"
  208. android:textSize="@dimen/text_main" />
  209. <com.andreabaccega.widget.FormEditText xmlns:editTextFormExample="http://schemas.android.com/apk/res-auto"
  210. android:id="@+id/tv_notice"
  211. style="@style/form_relative_right_text"
  212. editTextFormExample:testType="nocheck"
  213. android:hint="请选择" />
  214. </RelativeLayout>
  215. <RelativeLayout
  216. android:id="@+id/email_erp_rl"
  217. style="@style/form_relative_customer"
  218. android:layout_height="wrap_content"
  219. android:layout_marginBottom="20dp"
  220. android:background="@color/white">
  221. <TextView
  222. android:id="@+id/email_text"
  223. android:layout_width="wrap_content"
  224. android:layout_height="wrap_content"
  225. android:layout_centerVertical="true"
  226. android:drawablePadding="10dp"
  227. android:layout_marginLeft="20dp"
  228. android:gravity="center"
  229. android:text="详情"
  230. android:textColor="@color/text_main"
  231. android:textSize="@dimen/text_main" />
  232. <com.andreabaccega.widget.FormEditText xmlns:editTextFormExample="http://schemas.android.com/apk/res-auto"
  233. android:id="@+id/tv_content"
  234. android:layout_height="80dp"
  235. style="@style/form_relative_right_text"
  236. editTextFormExample:testType="nocheck"
  237. android:hint="最多输入十五个字符" />
  238. </RelativeLayout>
  239. </LinearLayout>
  240. </ScrollView>