activity_new_log_add.xml 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:id="@+id/mainLay"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:background="@color/EFEFEF"
  7. android:fitsSystemWindows="true"
  8. android:orientation="vertical" >
  9. <include
  10. android:id="@+id/title"
  11. layout="@layout/fragment_title" />
  12. <FrameLayout
  13. android:layout_width="match_parent"
  14. android:layout_height="match_parent"
  15. android:background="@color/white" >
  16. <LinearLayout
  17. android:layout_width="match_parent"
  18. android:layout_height="match_parent"
  19. android:background="@color/white"
  20. android:orientation="vertical" >
  21. <ScrollView
  22. android:layout_width="match_parent"
  23. android:layout_height="0dp"
  24. android:layout_weight="1"
  25. android:background="@color/white" >
  26. <LinearLayout
  27. android:layout_width="match_parent"
  28. android:layout_height="wrap_content"
  29. android:background="@color/white"
  30. android:orientation="vertical" >
  31. <LinearLayout
  32. android:layout_width="match_parent"
  33. android:layout_height="wrap_content"
  34. android:layout_marginLeft="15dp"
  35. android:orientation="horizontal" >
  36. <TextView
  37. android:layout_width="0dp"
  38. android:layout_height="wrap_content"
  39. android:layout_marginTop="15dp"
  40. android:layout_weight="1"
  41. android:text="姓 名"
  42. android:textColor="@color/black"
  43. android:textSize="14sp" />
  44. <LinearLayout
  45. android:layout_width="0dp"
  46. android:layout_height="wrap_content"
  47. android:layout_weight="3"
  48. android:orientation="vertical" >
  49. <TextView
  50. android:id="@+id/tv_new_log_add_account_name"
  51. android:layout_width="match_parent"
  52. android:layout_height="match_parent"
  53. android:layout_marginTop="15dp"
  54. android:text="登陆账号姓名"
  55. android:textColor="@color/A3A3A3"
  56. android:textSize="14sp" />
  57. <View
  58. android:layout_width="match_parent"
  59. android:layout_height="0.5dp"
  60. android:layout_marginTop="14dp"
  61. android:background="@color/A3A3A3" />
  62. </LinearLayout>
  63. </LinearLayout>
  64. <LinearLayout
  65. android:layout_width="match_parent"
  66. android:layout_height="wrap_content"
  67. android:layout_marginLeft="15dp"
  68. android:orientation="horizontal" >
  69. <TextView
  70. android:layout_width="0dp"
  71. android:layout_height="wrap_content"
  72. android:layout_marginTop="15dp"
  73. android:layout_weight="1"
  74. android:text="日 期"
  75. android:textColor="@color/black"
  76. android:textSize="14sp" />
  77. <LinearLayout
  78. android:layout_width="0dp"
  79. android:layout_height="wrap_content"
  80. android:layout_weight="3"
  81. android:orientation="vertical" >
  82. <TextView
  83. android:id="@+id/tv_new_log_add_select_date"
  84. android:layout_width="match_parent"
  85. android:layout_height="match_parent"
  86. android:layout_marginTop="15dp"
  87. android:text="请选择日志日期"
  88. android:textColor="@color/A3A3A3"
  89. android:textSize="14sp" />
  90. <View
  91. android:layout_width="match_parent"
  92. android:layout_height="0.5dp"
  93. android:layout_marginTop="14dp"
  94. android:background="@color/A3A3A3" />
  95. </LinearLayout>
  96. </LinearLayout>
  97. <LinearLayout
  98. android:layout_width="match_parent"
  99. android:layout_height="wrap_content"
  100. android:layout_marginLeft="15dp"
  101. android:orientation="horizontal" >
  102. <TextView
  103. android:layout_width="0dp"
  104. android:layout_height="wrap_content"
  105. android:layout_marginTop="15dp"
  106. android:layout_weight="1"
  107. android:text="范围权限"
  108. android:textColor="@color/black"
  109. android:textSize="14sp" />
  110. <LinearLayout
  111. android:layout_width="0dp"
  112. android:layout_height="wrap_content"
  113. android:layout_weight="3"
  114. android:orientation="vertical" >
  115. <TextView
  116. android:id="@+id/tv_new_log_add_select_permission_range"
  117. android:layout_width="match_parent"
  118. android:layout_height="match_parent"
  119. android:layout_marginTop="15dp"
  120. android:text="请选择范围权限"
  121. android:textColor="@color/A3A3A3"
  122. android:textSize="14sp" />
  123. <View
  124. android:layout_width="match_parent"
  125. android:layout_height="0.5dp"
  126. android:layout_marginTop="14dp"
  127. android:background="@color/A3A3A3" />
  128. </LinearLayout>
  129. </LinearLayout>
  130. <LinearLayout
  131. android:layout_width="match_parent"
  132. android:layout_height="wrap_content"
  133. android:layout_marginLeft="15dp"
  134. android:orientation="horizontal" >
  135. <TextView
  136. android:layout_width="0dp"
  137. android:layout_height="wrap_content"
  138. android:layout_marginTop="15dp"
  139. android:layout_weight="1"
  140. android:text="点 评 人"
  141. android:textColor="@color/black"
  142. android:textSize="14sp" />
  143. <LinearLayout
  144. android:layout_width="0dp"
  145. android:layout_height="wrap_content"
  146. android:layout_weight="3"
  147. android:orientation="vertical" >
  148. <TextView
  149. android:id="@+id/tv_new_log_add_select_remark_person"
  150. android:layout_width="match_parent"
  151. android:layout_height="match_parent"
  152. android:layout_marginTop="15dp"
  153. android:text="请选择点评人"
  154. android:textColor="@color/A3A3A3"
  155. android:textSize="14sp" />
  156. <View
  157. android:layout_width="match_parent"
  158. android:layout_height="0.5dp"
  159. android:layout_marginTop="14dp" />
  160. </LinearLayout>
  161. </LinearLayout>
  162. <RelativeLayout
  163. android:layout_width="match_parent"
  164. android:layout_height="wrap_content"
  165. android:background="@color/EFEFEF" >
  166. <TextView
  167. android:layout_width="100dp"
  168. android:layout_height="25dp"
  169. android:layout_marginLeft="14dp"
  170. android:layout_marginTop="13dp"
  171. android:background="@drawable/new_log_add_select_fill_background"
  172. android:gravity="bottom"
  173. android:text=" 以下均为选填"
  174. android:textColor="#9000"
  175. android:textSize="13dp" />
  176. </RelativeLayout>
  177. <EditText
  178. android:id="@+id/et_new_log_add_log_content"
  179. android:layout_width="match_parent"
  180. android:layout_height="100dp"
  181. android:layout_marginLeft="15dp"
  182. android:layout_marginRight="15dp"
  183. android:layout_marginTop="15dp"
  184. android:background="@null"
  185. android:gravity="top"
  186. android:hint="请填写日志内容"
  187. android:textSize="14dp"/>
  188. <!-- 新版本图片位置 -->
  189. <LinearLayout
  190. android:id="@+id/ll_log_add_show_ImageGridView"
  191. android:layout_width="fill_parent"
  192. android:layout_height="wrap_content"
  193. android:layout_marginTop="8dp"
  194. android:background="@color/white"
  195. android:orientation="horizontal"
  196. android:visibility="gone" >
  197. <com.dongkesoft.ibossmini.utils.ImageGridView
  198. android:id="@+id/igv_log_add_show_ImageGridView"
  199. android:layout_width="wrap_content"
  200. android:layout_height="@dimen/iv_layout_height_90"
  201. android:layout_gravity="center_vertical"
  202. android:layout_marginLeft="10dp"
  203. android:layout_marginRight="10dp"
  204. android:columnWidth="@dimen/iv_layout_width_90"
  205. android:minHeight="0dp"
  206. android:numColumns="3"
  207. android:scrollbars="horizontal|vertical" />
  208. </LinearLayout>
  209. <!-- 新版本显示位置的位置 -->
  210. <RelativeLayout
  211. android:id="@+id/rl_new_log_add_location_Layout"
  212. android:layout_width="match_parent"
  213. android:layout_height="wrap_content"
  214. android:layout_marginTop="15dp" >
  215. <View
  216. android:id="@+id/view_new_log_add_location_solid"
  217. android:layout_width="11dp"
  218. android:layout_height="15dp"
  219. android:layout_marginLeft="15dp"
  220. android:background="@drawable/new_log_add_location_solid" />
  221. <TextView
  222. android:id="@+id/tv_new_log_add_location_TextView"
  223. android:layout_width="wrap_content"
  224. android:layout_height="wrap_content"
  225. android:layout_marginLeft="11dp"
  226. android:layout_toRightOf="@id/view_new_log_add_location_solid"
  227. android:text=""
  228. android:textColor="@color/A3A3A3"
  229. android:textSize="14dp" />
  230. </RelativeLayout>
  231. <RelativeLayout
  232. android:layout_width="match_parent"
  233. android:layout_height="wrap_content"
  234. android:layout_marginTop="16dp">
  235. <View
  236. android:id="@+id/view_new_log_add_photograph"
  237. android:layout_width="18dp"
  238. android:layout_height="15dp"
  239. android:layout_marginLeft="15dp"
  240. android:layout_centerVertical="true"
  241. android:background="@drawable/new_log_add_photograph" />
  242. <TextView
  243. android:id="@+id/tv_new_log_add_photograph_text"
  244. android:layout_width="wrap_content"
  245. android:layout_height="wrap_content"
  246. android:layout_marginLeft="11dp"
  247. android:layout_toRightOf="@id/view_new_log_add_photograph"
  248. android:text="照相"
  249. android:textColor="@color/black"
  250. android:textSize="14dp" />
  251. <LinearLayout
  252. android:layout_width="wrap_content"
  253. android:layout_height="wrap_content"
  254. android:layout_centerHorizontal="true"
  255. android:orientation="horizontal" >
  256. <View
  257. android:id="@+id/view_new_log_add_photo_album"
  258. android:layout_width="14dp"
  259. android:layout_height="15dp"
  260. android:layout_gravity="center_vertical"
  261. android:background="@drawable/new_log_add_photo_album" />
  262. <TextView
  263. android:id="@+id/tv_new_log_add_photo_album_text"
  264. android:layout_width="wrap_content"
  265. android:layout_height="wrap_content"
  266. android:layout_marginLeft="11dp"
  267. android:layout_toRightOf="@id/view_new_log_add_photo_album"
  268. android:text="相册"
  269. android:textColor="@color/black"
  270. android:textSize="14dp" />
  271. </LinearLayout>
  272. <TextView
  273. android:id="@+id/tv_new_log_add_location_text_mark"
  274. android:layout_width="wrap_content"
  275. android:layout_height="wrap_content"
  276. android:layout_alignParentRight="true"
  277. android:layout_marginRight="15dp"
  278. android:text="所在位置"
  279. android:textColor="@color/black"
  280. android:textSize="14dp" />
  281. <View
  282. android:id="@+id/view_new_log_add_location"
  283. android:layout_width="12dp"
  284. android:layout_height="15dp"
  285. android:layout_marginRight="11dp"
  286. android:layout_centerVertical="true"
  287. android:layout_toLeftOf="@id/tv_new_log_add_location_text_mark"
  288. android:background="@drawable/new_log_add_location" />
  289. </RelativeLayout>
  290. <View
  291. android:layout_width="match_parent"
  292. android:layout_height="0.5dp"
  293. android:layout_marginLeft="15dp"
  294. android:layout_marginTop="16dp"
  295. android:background="#2000" />
  296. <RelativeLayout
  297. android:layout_width="match_parent"
  298. android:layout_height="wrap_content"
  299. android:layout_marginBottom="16dp"
  300. android:layout_marginTop="10dp" >
  301. <View
  302. android:id="@+id/view_new_log_add_voice"
  303. android:layout_width="13dp"
  304. android:layout_height="15dp"
  305. android:layout_marginLeft="17dp"
  306. android:layout_marginTop="5dp"
  307. android:background="@drawable/new_log_add_voice" />
  308. <TextView
  309. android:id="@+id/tv_new_log_add_voice"
  310. android:layout_width="wrap_content"
  311. android:layout_height="wrap_content"
  312. android:layout_marginLeft="13dp"
  313. android:layout_marginTop="5dp"
  314. android:layout_toRightOf="@id/view_new_log_add_voice"
  315. android:text="语音"
  316. android:textColor="@color/black"
  317. android:textSize="14dp" />
  318. <!-- 新版本语音位置 -->
  319. <com.dongkesoft.ibossmini.view.MyListView
  320. android:id="@+id/listview_show_voice"
  321. android:layout_width="fill_parent"
  322. android:layout_height="wrap_content"
  323. android:layout_marginLeft="12dp"
  324. android:layout_marginTop="2dp"
  325. android:layout_toRightOf="@id/tv_new_log_add_voice"
  326. android:cacheColorHint="#0000"
  327. android:divider="@android:color/transparent" />
  328. <TextView
  329. android:id="@+id/tv__new_log_add_long_recording_text"
  330. android:layout_width="wrap_content"
  331. android:layout_height="wrap_content"
  332. android:layout_alignParentRight="true"
  333. android:layout_marginRight="15dp"
  334. android:layout_marginTop="5dp"
  335. android:text="长按录音"
  336. android:textColor="@color/A3A3A3"
  337. android:textSize="13dp" />
  338. <View
  339. android:id="@+id/view_new_log_add_long_recording"
  340. android:layout_width="14dp"
  341. android:layout_height="15dp"
  342. android:layout_marginRight="3dp"
  343. android:layout_marginTop="5dp"
  344. android:layout_toLeftOf="@id/tv__new_log_add_long_recording_text"
  345. android:background="@drawable/new_log_add_long_recording" />
  346. </RelativeLayout>
  347. </LinearLayout>
  348. </ScrollView>
  349. <RelativeLayout
  350. android:id="@+id/rl_new_log_add_save"
  351. android:layout_width="match_parent"
  352. android:layout_height="75dp"
  353. android:layout_gravity="bottom"
  354. android:background="@color/EFEFEF" >
  355. <Button
  356. android:id="@+id/btn_new_log_add_save"
  357. android:layout_width="match_parent"
  358. android:layout_height="match_parent"
  359. android:layout_marginBottom="20dp"
  360. android:layout_marginLeft="15dp"
  361. android:layout_marginRight="15dp"
  362. android:layout_marginTop="15dp"
  363. android:background="@drawable/new_log_add_save_button" />
  364. </RelativeLayout>
  365. <!-- 按住说话布局android:visibility="gone" android:layout_height="40dp" -->
  366. <LinearLayout
  367. android:id="@+id/ll_new_log_add_down_speak"
  368. android:layout_width="fill_parent"
  369. android:layout_height="75dp"
  370. android:layout_gravity="bottom"
  371. android:layout_marginTop="2dp"
  372. android:background="@color/white"
  373. android:orientation="horizontal"
  374. android:visibility="gone" >
  375. </LinearLayout>
  376. </LinearLayout>
  377. <!-- 中断聊天 -->
  378. <LinearLayout
  379. android:id="@+id/ll_new_log_add_rcChat_popup"
  380. android:layout_width="fill_parent"
  381. android:layout_height="fill_parent"
  382. android:gravity="center"
  383. android:visibility="gone" >
  384. <include
  385. android:layout_width="wrap_content"
  386. android:layout_height="wrap_content"
  387. android:layout_gravity="center"
  388. layout="@layout/voice_rcd_hint_window" />
  389. </LinearLayout>
  390. </FrameLayout>
  391. </LinearLayout>