homemember_add.xml 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. ~ Copyright (c) 2015. Ncomz. All Rights Reserved
  4. -->
  5. <RelativeLayout
  6. xmlns:android="http://schemas.android.com/apk/res/android"
  7. android:layout_width="match_parent"
  8. android:layout_height="match_parent">
  9. <LinearLayout
  10. android:layout_width="match_parent"
  11. android:layout_height="match_parent"
  12. android:background="@drawable/color_body_02"
  13. android:fitsSystemWindows="true"
  14. android:focusable="true"
  15. android:focusableInTouchMode="true"
  16. android:orientation="vertical">
  17. <include layout="@layout/app_toolbar"/>
  18. <LinearLayout
  19. android:layout_width="match_parent"
  20. android:layout_height="0dp"
  21. android:layout_weight="1"
  22. android:orientation="vertical"
  23. >
  24. <com.ntels.onecable.common.widget.CustomScrollView
  25. android:id="@+id/svBody"
  26. android:layout_width="match_parent"
  27. android:layout_height="0dp"
  28. android:layout_weight="1"
  29. android:fadingEdge="none">
  30. <LinearLayout
  31. android:id="@+id/llSvbody"
  32. android:layout_width="match_parent"
  33. android:layout_height="wrap_content"
  34. android:paddingBottom="18dp"
  35. android:orientation="vertical">
  36. <LinearLayout
  37. android:layout_width="match_parent"
  38. android:layout_height="wrap_content"
  39. android:layout_marginTop="18dp"
  40. android:paddingLeft="15dp"
  41. android:orientation="vertical">
  42. <TextView
  43. android:layout_width="wrap_content"
  44. android:layout_height="wrap_content"
  45. android:includeFontPadding="false"
  46. android:textColor="@color/color_text_04"
  47. android:textSize="@dimen/size_font_03"
  48. android:text="@string/layout_homemember_add_09"/>
  49. <TextView
  50. android:layout_width="wrap_content"
  51. android:layout_height="wrap_content"
  52. android:layout_marginTop="18dp"
  53. android:includeFontPadding="false"
  54. android:text="@string/layout_homemember_add_08"
  55. android:textColor="@color/color_text_01"
  56. android:textSize="@dimen/size_font_02"
  57. android:textStyle="bold"
  58. />
  59. </LinearLayout>
  60. <LinearLayout
  61. android:id="@+id/llAdd"
  62. android:layout_width="match_parent"
  63. android:layout_height="wrap_content"
  64. android:gravity="center_vertical"
  65. android:orientation="horizontal"
  66. android:layout_marginTop="18dp"
  67. android:paddingLeft="15dp"
  68. android:paddingRight="15dp">
  69. <EditText
  70. android:id="@+id/edtCellphone"
  71. android:layout_width="match_parent"
  72. android:layout_height="wrap_content"
  73. android:layout_gravity="center_vertical"
  74. android:layout_weight="1"
  75. android:background="@drawable/d_img_input_round_bg"
  76. android:gravity="left|center_vertical"
  77. android:hint="@string/layout_homemember_add_02"
  78. android:imeOptions="actionDone"
  79. android:includeFontPadding="false"
  80. android:inputType="numberDecimal"
  81. android:maxLength="11"
  82. android:minHeight="40dp"
  83. android:paddingLeft="10dp"
  84. android:paddingRight="10dp"
  85. android:singleLine="true"
  86. android:textColor="@color/color_text_01"
  87. android:textColorHint="@color/color_text_03"
  88. android:textSize="@dimen/size_font_04">
  89. </EditText>
  90. <Button
  91. android:id="@+id/btnAdd"
  92. android:layout_width="40dp"
  93. android:layout_height="40dp"
  94. android:layout_marginLeft="7dp"
  95. android:background="@drawable/d_common_list_btn_add"/>
  96. </LinearLayout>
  97. <LinearLayout
  98. android:id="@+id/llContents"
  99. android:layout_width="match_parent"
  100. android:layout_height="wrap_content"
  101. android:gravity="center_vertical"
  102. android:orientation="vertical">
  103. </LinearLayout>
  104. <View
  105. android:layout_marginTop="25dp"
  106. android:layout_marginBottom="23dp"
  107. style="@style/width_Divider_01"/>
  108. <LinearLayout
  109. android:layout_width="match_parent"
  110. android:layout_height="wrap_content"
  111. android:orientation="vertical">
  112. <LinearLayout
  113. android:layout_width="match_parent"
  114. android:layout_height="wrap_content"
  115. android:gravity="center_vertical">
  116. <TextView
  117. android:layout_width="wrap_content"
  118. android:layout_height="wrap_content"
  119. android:layout_marginLeft="15dp"
  120. android:includeFontPadding="false"
  121. android:text="@string/layout_homemember_add_03"
  122. android:textColor="@color/color_text_01"
  123. android:textSize="@dimen/size_font_02"
  124. android:textStyle="bold"
  125. />
  126. </LinearLayout>
  127. <LinearLayout
  128. android:layout_width="match_parent"
  129. android:layout_height="wrap_content"
  130. android:layout_marginTop="23dp"
  131. android:gravity="center_vertical"
  132. android:paddingLeft="10dp"
  133. android:paddingRight="15dp">
  134. <ImageView
  135. android:layout_width="40dp"
  136. android:layout_height="33dp"
  137. android:background="@drawable/img_icon_calendar"/>
  138. <TextView
  139. android:layout_width="wrap_content"
  140. android:layout_height="wrap_content"
  141. android:layout_marginLeft="10dp"
  142. android:includeFontPadding="false"
  143. android:text="@string/layout_homemember_add_04"
  144. android:textColor="@color/color_text_01"
  145. android:textSize="@dimen/size_font_04"
  146. />
  147. </LinearLayout>
  148. <LinearLayout
  149. android:layout_width="match_parent"
  150. android:layout_height="wrap_content"
  151. android:gravity="center_vertical"
  152. android:orientation="vertical"
  153. android:paddingLeft="15dp"
  154. android:paddingRight="15dp"
  155. android:layout_marginTop="20dp">
  156. <RelativeLayout
  157. android:id="@+id/rlQuestion"
  158. android:layout_width="match_parent"
  159. android:layout_height="wrap_content"
  160. android:clickable="true">
  161. <TextView
  162. android:id="@+id/tvQuestion"
  163. android:layout_width="match_parent"
  164. android:layout_height="wrap_content"
  165. android:layout_gravity="center_vertical"
  166. android:layout_weight="1"
  167. android:background="@drawable/d_img_input_round_bg"
  168. android:gravity="left|center_vertical"
  169. android:hint="@string/layout_homemember_add_05"
  170. android:includeFontPadding="false"
  171. android:maxLength="60"
  172. android:minHeight="40dp"
  173. android:paddingLeft="10dp"
  174. android:paddingRight="10dp"
  175. android:duplicateParentState="true"
  176. android:textColor="@color/color_text_01"
  177. android:textColorHint="@drawable/d_font_color_font_03_color_font_02"
  178. android:textSize="@dimen/size_font_04">
  179. </TextView>
  180. <ImageView
  181. android:layout_width="wrap_content"
  182. android:layout_height="wrap_content"
  183. android:layout_alignParentRight="true"
  184. android:layout_centerVertical="true"
  185. android:layout_marginRight="10dp"
  186. android:duplicateParentState="true"
  187. android:src="@drawable/d_common_select_btn_icon"/>
  188. </RelativeLayout>
  189. <TextView
  190. android:layout_width="match_parent"
  191. android:layout_height="wrap_content"
  192. android:layout_marginTop="13dp"
  193. android:gravity="left"
  194. android:includeFontPadding="false"
  195. android:textColor="@color/color_text_01"
  196. android:textSize="@dimen/size_font_04"
  197. android:text="@string/layout_homemember_add_10"/>
  198. <LinearLayout
  199. android:id="@+id/llQuiz"
  200. android:layout_width="match_parent"
  201. android:layout_height="wrap_content"
  202. android:orientation="vertical"
  203. android:visibility="gone">
  204. <EditText
  205. android:id="@+id/edtQuiz"
  206. android:layout_width="match_parent"
  207. android:layout_height="wrap_content"
  208. android:layout_marginTop="18dp"
  209. android:background="@drawable/d_img_input_round_bg"
  210. android:gravity="left|center_vertical"
  211. android:hint="@string/layout_homemember_add_13"
  212. android:imeOptions="actionDone"
  213. android:includeFontPadding="false"
  214. android:inputType="text"
  215. android:maxLength="20"
  216. android:paddingLeft="15dp"
  217. android:paddingRight="15dp"
  218. android:singleLine="true"
  219. android:textColor="@color/color_text_01"
  220. android:textColorHint="@color/color_text_03"
  221. android:textSize="@dimen/size_font_04">
  222. </EditText>
  223. <TextView
  224. android:layout_width="match_parent"
  225. android:layout_height="wrap_content"
  226. android:layout_marginTop="13dp"
  227. android:gravity="left"
  228. android:includeFontPadding="false"
  229. android:textColor="@color/color_text_04"
  230. android:textSize="@dimen/size_font_04"
  231. android:text="@string/layout_homemember_add_11"/>
  232. <TextView
  233. android:layout_width="match_parent"
  234. android:layout_height="wrap_content"
  235. android:layout_marginTop="12dp"
  236. android:gravity="left"
  237. android:includeFontPadding="false"
  238. android:textColor="@color/color_text_01"
  239. android:textSize="@dimen/size_font_04"
  240. android:text="@string/layout_homemember_add_12"/>
  241. </LinearLayout>
  242. <TextView
  243. android:id="@+id/tvValueDate"
  244. android:layout_width="match_parent"
  245. android:layout_height="wrap_content"
  246. android:layout_gravity="center_vertical"
  247. android:layout_marginTop="18dp"
  248. android:layout_weight="1"
  249. android:background="@drawable/d_img_input_round_bg"
  250. android:gravity="left|center_vertical"
  251. android:hint="@string/layout_homemember_add_06"
  252. android:includeFontPadding="false"
  253. android:inputType="date"
  254. android:minHeight="40dp"
  255. android:paddingLeft="10dp"
  256. android:paddingRight="10dp"
  257. android:singleLine="true"
  258. android:textColor="@color/color_text_01"
  259. android:textColorHint="@color/color_text_03"
  260. android:textSize="@dimen/size_font_04"/>
  261. </LinearLayout>
  262. </LinearLayout>
  263. </LinearLayout>
  264. </com.ntels.onecable.common.widget.CustomScrollView>
  265. </LinearLayout>
  266. <LinearLayout
  267. android:layout_width="match_parent"
  268. android:layout_height="wrap_content"
  269. android:orientation="vertical">
  270. <View
  271. style="@style/width_Divider_01"/>
  272. <LinearLayout
  273. android:layout_width="match_parent"
  274. android:layout_height="60dp"
  275. android:layout_gravity="center_horizontal"
  276. android:background="@drawable/color_bg_01"
  277. android:gravity="center">
  278. <LinearLayout
  279. android:id="@+id/llBtn2"
  280. android:layout_width="0dp"
  281. android:layout_height="match_parent"
  282. android:background="@drawable/d_common_btn_bg"
  283. android:layout_weight="1"
  284. android:gravity="center">
  285. <TextView
  286. android:id="@+id/tvBtn2"
  287. android:layout_width="wrap_content"
  288. android:layout_height="wrap_content"
  289. android:background="@null"
  290. android:includeFontPadding="false"
  291. android:text="@string/layout_cancel"
  292. android:textColor="@drawable/d_font_color_font_01_color_font_02"
  293. android:textSize="@dimen/size_font_09"
  294. android:textStyle="bold"/>
  295. </LinearLayout>
  296. <View
  297. style="@style/height_Divider_01"/>
  298. <LinearLayout
  299. android:id="@+id/llBtn1"
  300. android:layout_width="0dp"
  301. android:layout_height="match_parent"
  302. android:background="@drawable/d_common_btn_bg"
  303. android:layout_weight="1"
  304. android:gravity="center">
  305. <TextView
  306. android:id="@+id/tvBtn1"
  307. android:layout_width="wrap_content"
  308. android:layout_height="wrap_content"
  309. android:includeFontPadding="false"
  310. android:background="@null"
  311. android:duplicateParentState="true"
  312. android:text="@string/layout_ok"
  313. android:textColor="@drawable/d_font_color_font_08_color_font_04"
  314. android:textSize="@dimen/size_font_09"
  315. android:textStyle="bold"/>
  316. </LinearLayout>
  317. </LinearLayout>
  318. </LinearLayout>
  319. </LinearLayout>
  320. <LinearLayout
  321. android:id="@+id/llSlidingMenu"
  322. android:layout_width="match_parent"
  323. android:layout_height="match_parent"
  324. android:layout_alignParentBottom="true"
  325. android:background="@color/transparent"
  326. android:clickable="true"
  327. android:visibility="gone">
  328. <LinearLayout
  329. android:layout_width="match_parent"
  330. android:layout_height="324dp"
  331. android:background="@drawable/color_popup_bg_body"
  332. android:orientation="vertical"
  333. android:layout_gravity="bottom">
  334. <LinearLayout
  335. android:layout_width="match_parent"
  336. android:layout_height="50dp"
  337. android:orientation="horizontal"
  338. android:gravity="center_vertical"
  339. android:background="@drawable/color_popup_bg_body">
  340. <TextView
  341. android:layout_width="0dp"
  342. android:layout_height="match_parent"
  343. android:layout_weight="1"
  344. android:includeFontPadding="false"
  345. android:textSize="@dimen/size_font_02"
  346. android:textColor="@color/color_text_01"
  347. android:textStyle="bold"
  348. android:gravity="left|center_vertical"
  349. android:paddingLeft="25dp"
  350. android:text="@string/layout_homemember_add_14"/>
  351. <Button
  352. android:id="@+id/btnClose"
  353. android:layout_width="50dp"
  354. android:layout_height="50dp"
  355. android:background="@drawable/d_common_head_btn_close"/>
  356. </LinearLayout>
  357. <android.support.v7.widget.RecyclerView
  358. android:id="@+id/rcvList"
  359. android:layout_width="match_parent"
  360. android:layout_height="match_parent"
  361. android:paddingTop="4dp"
  362. android:overScrollMode="never"
  363. android:background="@drawable/color_popup_bg_body"
  364. android:clipToPadding="false"/>
  365. </LinearLayout>
  366. </LinearLayout>
  367. </RelativeLayout>