fragment_statement.xml 52 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:animateLayoutChanges="true"
  8. android:background="@color/color_white"
  9. android:clickable="true"
  10. android:focusable="true"
  11. tools:context=".screen.report.StatementFragment">
  12. <androidx.appcompat.widget.LinearLayoutCompat
  13. android:id="@+id/lin_main_tab"
  14. android:layout_width="match_parent"
  15. android:layout_height="48dp"
  16. android:background="@drawable/bg_main_color"
  17. android:orientation="horizontal"
  18. app:layout_constraintEnd_toEndOf="parent"
  19. app:layout_constraintStart_toStartOf="parent"
  20. app:layout_constraintTop_toTopOf="parent">
  21. <androidx.appcompat.widget.LinearLayoutCompat
  22. android:id="@+id/linMainTabDeposit"
  23. android:layout_width="0dp"
  24. android:layout_height="match_parent"
  25. android:layout_weight="1"
  26. android:orientation="vertical">
  27. <com.google.android.material.textview.MaterialTextView
  28. android:layout_width="match_parent"
  29. android:layout_height="0dp"
  30. android:layout_weight="1"
  31. android:gravity="center"
  32. android:text="Deposit"
  33. android:textColor="@color/color_white" />
  34. <View
  35. android:id="@+id/bg_select_deposit"
  36. android:layout_width="match_parent"
  37. android:layout_height="4dp"
  38. android:background="@color/color_white"
  39. android:visibility="visible" />
  40. </androidx.appcompat.widget.LinearLayoutCompat>
  41. <androidx.appcompat.widget.LinearLayoutCompat
  42. android:id="@+id/linMainTabWithdraw"
  43. android:layout_width="0dp"
  44. android:layout_height="match_parent"
  45. android:layout_weight="1"
  46. android:orientation="vertical">
  47. <com.google.android.material.textview.MaterialTextView
  48. android:layout_width="match_parent"
  49. android:layout_height="0dp"
  50. android:layout_weight="1"
  51. android:gravity="center"
  52. android:text="Withdraw"
  53. android:textColor="@color/color_white" />
  54. <View
  55. android:id="@+id/bg_select_withdraw"
  56. android:layout_width="match_parent"
  57. android:layout_height="4dp"
  58. android:background="@color/color_white"
  59. android:visibility="invisible" />
  60. </androidx.appcompat.widget.LinearLayoutCompat>
  61. <androidx.appcompat.widget.LinearLayoutCompat
  62. android:id="@+id/linTabMainStatement"
  63. android:layout_width="0dp"
  64. android:layout_height="match_parent"
  65. android:layout_weight="1"
  66. android:orientation="vertical">
  67. <com.google.android.material.textview.MaterialTextView
  68. android:layout_width="match_parent"
  69. android:layout_height="0dp"
  70. android:layout_weight="1"
  71. android:gravity="center"
  72. android:text="Statement"
  73. android:textColor="@color/color_white" />
  74. <View
  75. android:id="@+id/bg_select_tab1"
  76. android:layout_width="match_parent"
  77. android:layout_height="4dp"
  78. android:background="@drawable/bg_box"
  79. android:visibility="invisible" />
  80. </androidx.appcompat.widget.LinearLayoutCompat>
  81. <androidx.appcompat.widget.LinearLayoutCompat
  82. android:id="@+id/linTabResult"
  83. android:layout_width="0dp"
  84. android:layout_height="match_parent"
  85. android:layout_weight="1"
  86. android:orientation="vertical">
  87. <com.google.android.material.textview.MaterialTextView
  88. android:layout_width="match_parent"
  89. android:layout_height="0dp"
  90. android:layout_weight="1"
  91. android:gravity="center"
  92. android:text="Result"
  93. android:textColor="@color/color_white" />
  94. <View
  95. android:id="@+id/bg_select_tab2"
  96. android:layout_width="match_parent"
  97. android:layout_height="4dp"
  98. android:background="@color/color_white"
  99. android:visibility="invisible" />
  100. </androidx.appcompat.widget.LinearLayoutCompat>
  101. <androidx.appcompat.widget.LinearLayoutCompat
  102. android:id="@+id/linTabReport"
  103. android:layout_width="0dp"
  104. android:layout_height="match_parent"
  105. android:layout_weight="1"
  106. android:orientation="vertical"
  107. android:visibility="gone">
  108. <com.google.android.material.textview.MaterialTextView
  109. android:layout_width="match_parent"
  110. android:layout_height="0dp"
  111. android:layout_weight="1"
  112. android:gravity="center"
  113. android:text="Report"
  114. android:textColor="@color/color_white" />
  115. <View
  116. android:id="@+id/bg_select_tab3"
  117. android:layout_width="match_parent"
  118. android:layout_height="4dp"
  119. android:background="@color/color_white"
  120. android:visibility="invisible" />
  121. </androidx.appcompat.widget.LinearLayoutCompat>
  122. </androidx.appcompat.widget.LinearLayoutCompat>
  123. <ProgressBar
  124. android:id="@+id/progress"
  125. android:layout_width="wrap_content"
  126. android:layout_height="wrap_content"
  127. app:layout_constraintBottom_toBottomOf="parent"
  128. app:layout_constraintEnd_toEndOf="parent"
  129. app:layout_constraintStart_toStartOf="parent"
  130. app:layout_constraintTop_toBottomOf="@+id/lin_main_tab" />
  131. <androidx.appcompat.widget.LinearLayoutCompat
  132. android:layout_width="match_parent"
  133. android:layout_height="0dp"
  134. android:animateLayoutChanges="true"
  135. android:orientation="vertical"
  136. app:layout_constraintBottom_toBottomOf="parent"
  137. app:layout_constraintEnd_toEndOf="parent"
  138. app:layout_constraintStart_toStartOf="parent"
  139. app:layout_constraintTop_toBottomOf="@+id/lin_main_tab">
  140. //deposit
  141. <androidx.appcompat.widget.LinearLayoutCompat
  142. android:id="@+id/lin_tab_deposit"
  143. android:layout_width="match_parent"
  144. android:layout_height="match_parent"
  145. android:layout_marginBottom="48dp"
  146. android:orientation="vertical"
  147. android:visibility="visible">
  148. <androidx.cardview.widget.CardView
  149. android:layout_width="match_parent"
  150. android:layout_height="48dp"
  151. android:layout_margin="2dp">
  152. <androidx.appcompat.widget.LinearLayoutCompat
  153. android:id="@+id/linDepositDate"
  154. android:layout_width="match_parent"
  155. android:layout_height="48dp"
  156. android:orientation="horizontal"
  157. android:padding="2dp"
  158. android:visibility="visible">
  159. <androidx.appcompat.widget.LinearLayoutCompat
  160. android:id="@+id/dep_start"
  161. android:layout_width="0dp"
  162. android:layout_height="match_parent"
  163. android:layout_weight="1"
  164. android:orientation="vertical">
  165. <com.google.android.material.textview.MaterialTextView
  166. android:layout_width="match_parent"
  167. android:layout_height="wrap_content"
  168. android:text="Start Date"
  169. android:textColor="@color/text_black"
  170. android:textSize="12sp"
  171. android:textStyle="bold" />
  172. <com.google.android.material.textview.MaterialTextView
  173. android:id="@+id/mtxtDepositStartDate"
  174. android:layout_width="match_parent"
  175. android:layout_height="0dp"
  176. android:layout_weight="1"
  177. android:gravity="center"
  178. android:textColor="@color/text_black"
  179. android:textStyle="bold" />
  180. </androidx.appcompat.widget.LinearLayoutCompat>
  181. <androidx.appcompat.widget.LinearLayoutCompat
  182. android:id="@+id/dep_end"
  183. android:layout_width="0dp"
  184. android:layout_height="match_parent"
  185. android:layout_weight="1"
  186. android:orientation="vertical">
  187. <com.google.android.material.textview.MaterialTextView
  188. android:layout_width="match_parent"
  189. android:layout_height="wrap_content"
  190. android:text="End Date"
  191. android:textColor="@color/text_black"
  192. android:textSize="12sp"
  193. android:textStyle="bold" />
  194. <com.google.android.material.textview.MaterialTextView
  195. android:id="@+id/mtxtDepositEndDate"
  196. android:layout_width="match_parent"
  197. android:layout_height="0dp"
  198. android:layout_weight="1"
  199. android:gravity="center"
  200. android:textColor="@color/text_black"
  201. android:textStyle="bold" />
  202. </androidx.appcompat.widget.LinearLayoutCompat>
  203. <androidx.appcompat.widget.AppCompatImageView
  204. android:id="@+id/imgDepositClear"
  205. android:layout_width="48dp"
  206. android:layout_height="match_parent"
  207. android:padding="12dp"
  208. app:srcCompat="@drawable/ic_baseline_clear_24" />
  209. </androidx.appcompat.widget.LinearLayoutCompat>
  210. </androidx.cardview.widget.CardView>
  211. <androidx.constraintlayout.widget.ConstraintLayout
  212. android:layout_width="match_parent"
  213. android:layout_height="wrap_content"
  214. android:background="@color/number_6"
  215. android:orientation="horizontal">
  216. <com.google.android.material.textview.MaterialTextView
  217. android:layout_width="wrap_content"
  218. android:layout_height="wrap_content"
  219. android:text="Total Amount: "
  220. android:textColor="@color/color_green_800"
  221. android:textStyle="bold"
  222. app:layout_constraintBottom_toBottomOf="parent"
  223. app:layout_constraintEnd_toStartOf="@+id/tvDepTurnOver"
  224. app:layout_constraintTop_toTopOf="parent" />
  225. <com.google.android.material.textview.MaterialTextView
  226. android:id="@+id/tvDepTurnOver"
  227. android:layout_width="0dp"
  228. android:layout_height="wrap_content"
  229. android:layout_marginStart="8dp"
  230. android:layout_marginEnd="8dp"
  231. android:layout_weight="1"
  232. android:text="0.00"
  233. android:textColor="@color/color_green_800"
  234. android:textStyle="bold"
  235. app:layout_constraintBottom_toBottomOf="parent"
  236. app:layout_constraintEnd_toEndOf="parent"
  237. app:layout_constraintTop_toTopOf="parent" />
  238. </androidx.constraintlayout.widget.ConstraintLayout>
  239. <androidx.constraintlayout.widget.ConstraintLayout
  240. android:layout_width="match_parent"
  241. android:layout_height="38dp"
  242. android:orientation="horizontal">
  243. <androidx.constraintlayout.widget.Guideline
  244. android:id="@+id/guideline_dep1"
  245. android:layout_width="wrap_content"
  246. android:layout_height="wrap_content"
  247. android:orientation="vertical"
  248. app:layout_constraintGuide_percent="0.25" />
  249. <androidx.constraintlayout.widget.Guideline
  250. android:id="@+id/guideline_dep2"
  251. android:layout_width="wrap_content"
  252. android:layout_height="wrap_content"
  253. android:orientation="vertical"
  254. app:layout_constraintGuide_percent="0.50" />
  255. <androidx.constraintlayout.widget.Guideline
  256. android:id="@+id/guideline_dep3"
  257. android:layout_width="wrap_content"
  258. android:layout_height="wrap_content"
  259. android:orientation="vertical"
  260. app:layout_constraintGuide_begin="309dp" />
  261. <com.google.android.material.textview.MaterialTextView
  262. android:layout_width="0dp"
  263. android:layout_height="match_parent"
  264. android:gravity="center"
  265. android:text="Date"
  266. android:textColor="@color/color_blue_800"
  267. android:textStyle="bold"
  268. app:layout_constraintBottom_toBottomOf="parent"
  269. app:layout_constraintEnd_toStartOf="@+id/guideline_dep1"
  270. app:layout_constraintStart_toStartOf="parent"
  271. app:layout_constraintTop_toTopOf="parent" />
  272. <com.google.android.material.textview.MaterialTextView
  273. android:layout_width="0dp"
  274. android:layout_height="match_parent"
  275. android:gravity="center"
  276. android:text="Old Balance"
  277. android:textColor="@color/color_blue_800"
  278. android:textStyle="bold"
  279. app:layout_constraintBottom_toBottomOf="parent"
  280. app:layout_constraintEnd_toStartOf="@+id/guideline_dep2"
  281. app:layout_constraintStart_toStartOf="@+id/guideline_dep1"
  282. app:layout_constraintTop_toTopOf="parent" />
  283. <com.google.android.material.textview.MaterialTextView
  284. android:layout_width="0dp"
  285. android:layout_height="match_parent"
  286. android:gravity="center"
  287. android:text="New Balance"
  288. android:textColor="@color/color_blue_800"
  289. android:textStyle="bold"
  290. app:layout_constraintBottom_toBottomOf="parent"
  291. app:layout_constraintEnd_toStartOf="@+id/guideline_dep3"
  292. app:layout_constraintStart_toStartOf="@+id/guideline_dep2"
  293. app:layout_constraintTop_toTopOf="parent" />
  294. <com.google.android.material.textview.MaterialTextView
  295. android:id="@+id/tvDepAmount"
  296. android:layout_width="0dp"
  297. android:layout_height="match_parent"
  298. android:gravity="center"
  299. android:text="Amount"
  300. android:textColor="@color/color_blue_800"
  301. android:textStyle="bold"
  302. app:layout_constraintBottom_toBottomOf="parent"
  303. app:layout_constraintEnd_toEndOf="parent"
  304. app:layout_constraintStart_toStartOf="@+id/guideline_dep3"
  305. app:layout_constraintTop_toTopOf="parent" />
  306. </androidx.constraintlayout.widget.ConstraintLayout>
  307. <androidx.recyclerview.widget.RecyclerView
  308. android:id="@+id/rv_tb_deposit"
  309. android:layout_width="match_parent"
  310. android:layout_height="0dp"
  311. android:layout_marginStart="1dp"
  312. android:layout_marginEnd="1dp"
  313. android:layout_weight="1"
  314. android:background="@android:color/transparent"
  315. android:clipToPadding="false"
  316. android:paddingBottom="8dp" />
  317. </androidx.appcompat.widget.LinearLayoutCompat>
  318. //withdraw
  319. <androidx.appcompat.widget.LinearLayoutCompat
  320. android:id="@+id/lin_tab_withdraw"
  321. android:layout_width="match_parent"
  322. android:layout_height="match_parent"
  323. android:layout_marginBottom="48dp"
  324. android:orientation="vertical"
  325. android:visibility="gone">
  326. <androidx.cardview.widget.CardView
  327. android:layout_width="match_parent"
  328. android:layout_height="48dp"
  329. android:layout_margin="2dp">
  330. <androidx.appcompat.widget.LinearLayoutCompat
  331. android:id="@+id/linWithdrawDate"
  332. android:layout_width="match_parent"
  333. android:layout_height="48dp"
  334. android:orientation="horizontal"
  335. android:padding="4dp"
  336. android:visibility="visible">
  337. <androidx.appcompat.widget.LinearLayoutCompat
  338. android:layout_width="0dp"
  339. android:layout_height="match_parent"
  340. android:layout_weight="1"
  341. android:orientation="vertical">
  342. <com.google.android.material.textview.MaterialTextView
  343. android:layout_width="match_parent"
  344. android:layout_height="wrap_content"
  345. android:text="Start Date"
  346. android:textColor="@color/text_black"
  347. android:textSize="12sp"
  348. android:textStyle="bold" />
  349. <com.google.android.material.textview.MaterialTextView
  350. android:id="@+id/mtxtWithdrawStartDate"
  351. android:layout_width="match_parent"
  352. android:layout_height="0dp"
  353. android:layout_weight="1"
  354. android:gravity="center"
  355. android:textColor="@color/text_black"
  356. android:textStyle="bold" />
  357. </androidx.appcompat.widget.LinearLayoutCompat>
  358. <androidx.appcompat.widget.LinearLayoutCompat
  359. android:layout_width="0dp"
  360. android:layout_height="match_parent"
  361. android:layout_weight="1"
  362. android:orientation="vertical">
  363. <com.google.android.material.textview.MaterialTextView
  364. android:layout_width="match_parent"
  365. android:layout_height="wrap_content"
  366. android:text="End Date"
  367. android:textColor="@color/text_black"
  368. android:textSize="12sp"
  369. android:textStyle="bold" />
  370. <com.google.android.material.textview.MaterialTextView
  371. android:id="@+id/mtxtWithdrawEndDate"
  372. android:layout_width="match_parent"
  373. android:layout_height="0dp"
  374. android:layout_weight="1"
  375. android:gravity="center"
  376. android:textColor="@color/text_black"
  377. android:textStyle="bold" />
  378. </androidx.appcompat.widget.LinearLayoutCompat>
  379. <androidx.appcompat.widget.AppCompatImageView
  380. android:id="@+id/imgWithdrawClear"
  381. android:layout_width="48dp"
  382. android:layout_height="match_parent"
  383. android:padding="12dp"
  384. android:visibility="visible"
  385. app:srcCompat="@drawable/ic_baseline_clear_24" />
  386. </androidx.appcompat.widget.LinearLayoutCompat>
  387. </androidx.cardview.widget.CardView>
  388. <androidx.constraintlayout.widget.ConstraintLayout
  389. android:layout_width="match_parent"
  390. android:layout_height="wrap_content"
  391. android:background="@color/number_6"
  392. android:orientation="horizontal">
  393. <com.google.android.material.textview.MaterialTextView
  394. android:layout_width="wrap_content"
  395. android:layout_height="wrap_content"
  396. android:text="Total Amount: "
  397. android:textColor="@color/color_green_800"
  398. android:textStyle="bold"
  399. app:layout_constraintBottom_toBottomOf="parent"
  400. app:layout_constraintEnd_toStartOf="@+id/tvWithTurnOver"
  401. app:layout_constraintTop_toTopOf="parent" />
  402. <com.google.android.material.textview.MaterialTextView
  403. android:id="@+id/tvWithTurnOver"
  404. android:layout_width="0dp"
  405. android:layout_height="wrap_content"
  406. android:layout_marginStart="8dp"
  407. android:layout_marginEnd="8dp"
  408. android:layout_weight="1"
  409. android:text="0.00"
  410. android:textColor="@color/color_green_800"
  411. android:textStyle="bold"
  412. app:layout_constraintBottom_toBottomOf="parent"
  413. app:layout_constraintEnd_toEndOf="parent"
  414. app:layout_constraintTop_toTopOf="parent" />
  415. </androidx.constraintlayout.widget.ConstraintLayout>
  416. <androidx.constraintlayout.widget.ConstraintLayout
  417. android:layout_width="match_parent"
  418. android:layout_height="38dp"
  419. android:orientation="horizontal">
  420. <androidx.constraintlayout.widget.Guideline
  421. android:id="@+id/guideline_with1"
  422. android:layout_width="wrap_content"
  423. android:layout_height="wrap_content"
  424. android:orientation="vertical"
  425. app:layout_constraintGuide_percent="0.25" />
  426. <androidx.constraintlayout.widget.Guideline
  427. android:id="@+id/guideline_with2"
  428. android:layout_width="wrap_content"
  429. android:layout_height="wrap_content"
  430. android:orientation="vertical"
  431. app:layout_constraintGuide_percent="0.50" />
  432. <androidx.constraintlayout.widget.Guideline
  433. android:id="@+id/guideline_with3"
  434. android:layout_width="wrap_content"
  435. android:layout_height="wrap_content"
  436. android:orientation="vertical"
  437. app:layout_constraintGuide_percent="0.75" />
  438. <com.google.android.material.textview.MaterialTextView
  439. android:layout_width="0dp"
  440. android:layout_height="match_parent"
  441. android:gravity="center"
  442. android:text="Date"
  443. android:textColor="@color/color_blue_800"
  444. android:textStyle="bold"
  445. app:layout_constraintBottom_toBottomOf="parent"
  446. app:layout_constraintEnd_toStartOf="@+id/guideline_with1"
  447. app:layout_constraintStart_toStartOf="parent"
  448. app:layout_constraintTop_toTopOf="parent" />
  449. <com.google.android.material.textview.MaterialTextView
  450. android:layout_width="0dp"
  451. android:layout_height="match_parent"
  452. android:gravity="center"
  453. android:text="Old Balance"
  454. android:textColor="@color/color_blue_800"
  455. android:textStyle="bold"
  456. app:layout_constraintBottom_toBottomOf="parent"
  457. app:layout_constraintEnd_toStartOf="@+id/guideline_with2"
  458. app:layout_constraintStart_toStartOf="@+id/guideline_with1"
  459. app:layout_constraintTop_toTopOf="parent" />
  460. <com.google.android.material.textview.MaterialTextView
  461. android:layout_width="0dp"
  462. android:layout_height="match_parent"
  463. android:gravity="center"
  464. android:text="New Balance"
  465. android:textColor="@color/color_blue_800"
  466. android:textStyle="bold"
  467. app:layout_constraintBottom_toBottomOf="parent"
  468. app:layout_constraintEnd_toStartOf="@+id/guideline_with3"
  469. app:layout_constraintStart_toStartOf="@+id/guideline_with2"
  470. app:layout_constraintTop_toTopOf="parent" />
  471. <com.google.android.material.textview.MaterialTextView
  472. android:id="@+id/tvWithAmount"
  473. android:layout_width="0dp"
  474. android:layout_height="match_parent"
  475. android:gravity="center"
  476. android:text="Amount"
  477. android:textColor="@color/color_blue_800"
  478. android:textStyle="bold"
  479. app:layout_constraintBottom_toBottomOf="parent"
  480. app:layout_constraintEnd_toEndOf="parent"
  481. app:layout_constraintStart_toStartOf="@+id/guideline_with3"
  482. app:layout_constraintTop_toTopOf="parent" />
  483. </androidx.constraintlayout.widget.ConstraintLayout>
  484. <androidx.recyclerview.widget.RecyclerView
  485. android:id="@+id/rv_tb_withdraw"
  486. android:layout_width="match_parent"
  487. android:layout_height="0dp"
  488. android:layout_marginStart="1dp"
  489. android:layout_marginEnd="1dp"
  490. android:layout_weight="1"
  491. android:background="@android:color/transparent"
  492. android:clipToPadding="false"
  493. android:paddingBottom="8dp" />
  494. </androidx.appcompat.widget.LinearLayoutCompat>
  495. //statement
  496. <androidx.appcompat.widget.LinearLayoutCompat
  497. android:id="@+id/lin_tab_1"
  498. android:layout_width="match_parent"
  499. android:layout_height="match_parent"
  500. android:layout_marginBottom="48dp"
  501. android:orientation="vertical"
  502. android:visibility="gone">
  503. <androidx.cardview.widget.CardView
  504. android:layout_width="match_parent"
  505. android:layout_height="48dp"
  506. android:layout_margin="2dp">
  507. <androidx.appcompat.widget.LinearLayoutCompat
  508. android:id="@+id/lin_statement_date"
  509. android:layout_width="match_parent"
  510. android:layout_height="48dp"
  511. android:orientation="horizontal"
  512. android:padding="4dp">
  513. <androidx.appcompat.widget.LinearLayoutCompat
  514. android:id="@+id/lin_start_1"
  515. android:layout_width="0dp"
  516. android:layout_height="match_parent"
  517. android:layout_weight="1"
  518. android:orientation="vertical">
  519. <com.google.android.material.textview.MaterialTextView
  520. android:layout_width="match_parent"
  521. android:layout_height="wrap_content"
  522. android:text="Start Date"
  523. android:textColor="@color/text_black"
  524. android:textSize="12sp"
  525. android:textStyle="bold" />
  526. <com.google.android.material.textview.MaterialTextView
  527. android:id="@+id/mtxt_statement_start_date"
  528. android:layout_width="match_parent"
  529. android:layout_height="match_parent"
  530. android:gravity="center"
  531. android:textColor="@color/text_black"
  532. android:textSize="12sp"
  533. android:textStyle="bold" />
  534. </androidx.appcompat.widget.LinearLayoutCompat>
  535. <androidx.appcompat.widget.LinearLayoutCompat
  536. android:id="@+id/lin_end_1"
  537. android:layout_width="0dp"
  538. android:layout_height="match_parent"
  539. android:layout_weight="1"
  540. android:orientation="vertical">
  541. <com.google.android.material.textview.MaterialTextView
  542. android:layout_width="match_parent"
  543. android:layout_height="wrap_content"
  544. android:text="End Date"
  545. android:textColor="@color/text_black"
  546. android:textSize="12sp"
  547. android:textStyle="bold" />
  548. <com.google.android.material.textview.MaterialTextView
  549. android:id="@+id/mtxt_statement_end_date"
  550. android:layout_width="match_parent"
  551. android:layout_height="match_parent"
  552. android:gravity="center"
  553. android:textColor="@color/text_black"
  554. android:textSize="12sp"
  555. android:textStyle="bold" />
  556. </androidx.appcompat.widget.LinearLayoutCompat>
  557. <androidx.appcompat.widget.AppCompatImageView
  558. android:id="@+id/imgStatementClear"
  559. android:layout_width="48dp"
  560. android:layout_height="match_parent"
  561. android:padding="12dp"
  562. app:srcCompat="@drawable/ic_baseline_clear_24" />
  563. </androidx.appcompat.widget.LinearLayoutCompat>
  564. </androidx.cardview.widget.CardView>
  565. <androidx.appcompat.widget.LinearLayoutCompat
  566. android:layout_width="match_parent"
  567. android:layout_height="wrap_content"
  568. android:orientation="horizontal">
  569. <androidx.appcompat.widget.LinearLayoutCompat
  570. android:layout_width="0dp"
  571. android:layout_height="wrap_content"
  572. android:layout_weight="1"
  573. android:background="@color/number_6"
  574. android:orientation="vertical"
  575. android:padding="4dp">
  576. <com.google.android.material.textview.MaterialTextView
  577. android:layout_width="match_parent"
  578. android:layout_height="wrap_content"
  579. android:gravity="center"
  580. android:text="Total TurnOver"
  581. android:textColor="@color/color_green_800"
  582. android:textSize="12sp"
  583. android:textStyle="bold" />
  584. <com.google.android.material.textview.MaterialTextView
  585. android:id="@+id/mtxt_statement_turnover"
  586. android:layout_width="match_parent"
  587. android:layout_height="wrap_content"
  588. android:gravity="center"
  589. android:text="0"
  590. android:textColor="@color/color_green_800"
  591. android:textSize="14sp"
  592. android:textStyle="bold" />
  593. </androidx.appcompat.widget.LinearLayoutCompat>
  594. <androidx.appcompat.widget.LinearLayoutCompat
  595. android:layout_width="0dp"
  596. android:layout_height="wrap_content"
  597. android:layout_weight="1"
  598. android:background="@color/number_6"
  599. android:orientation="vertical"
  600. android:padding="4dp">
  601. <com.google.android.material.textview.MaterialTextView
  602. android:layout_width="match_parent"
  603. android:layout_height="wrap_content"
  604. android:gravity="center"
  605. android:text="Total WIN\LOSE"
  606. android:textColor="@color/color_green_800"
  607. android:textSize="12sp"
  608. android:textStyle="bold" />
  609. <com.google.android.material.textview.MaterialTextView
  610. android:id="@+id/mtxt_statement_winlose"
  611. android:layout_width="match_parent"
  612. android:layout_height="wrap_content"
  613. android:gravity="center"
  614. android:text="0"
  615. android:textColor="@color/color_green_800"
  616. android:textSize="14sp"
  617. android:textStyle="bold" />
  618. </androidx.appcompat.widget.LinearLayoutCompat>
  619. </androidx.appcompat.widget.LinearLayoutCompat>
  620. <androidx.constraintlayout.widget.ConstraintLayout
  621. android:layout_width="match_parent"
  622. android:layout_height="38dp"
  623. android:orientation="horizontal">
  624. <androidx.constraintlayout.widget.Guideline
  625. android:id="@+id/guideline_id"
  626. android:layout_width="wrap_content"
  627. android:layout_height="wrap_content"
  628. android:orientation="vertical"
  629. app:layout_constraintGuide_percent="0.10" />
  630. <androidx.constraintlayout.widget.Guideline
  631. android:id="@+id/guideline_odds"
  632. android:layout_width="wrap_content"
  633. android:layout_height="wrap_content"
  634. android:orientation="vertical"
  635. app:layout_constraintGuide_percent="0.25" />
  636. <androidx.constraintlayout.widget.Guideline
  637. android:id="@+id/guideline_options"
  638. android:layout_width="wrap_content"
  639. android:layout_height="wrap_content"
  640. android:orientation="vertical"
  641. app:layout_constraintGuide_percent="0.60" />
  642. <androidx.constraintlayout.widget.Guideline
  643. android:id="@+id/guideline_last"
  644. android:layout_width="wrap_content"
  645. android:layout_height="wrap_content"
  646. android:orientation="vertical"
  647. app:layout_constraintGuide_percent="0.75" />
  648. <com.google.android.material.textview.MaterialTextView
  649. android:id="@+id/materialTextView4"
  650. android:layout_width="0dp"
  651. android:layout_height="match_parent"
  652. android:gravity="center"
  653. android:text="No"
  654. android:textColor="@color/color_blue_800"
  655. android:textStyle="bold"
  656. app:layout_constraintBottom_toBottomOf="parent"
  657. app:layout_constraintEnd_toStartOf="@+id/guideline_id"
  658. app:layout_constraintStart_toStartOf="parent"
  659. app:layout_constraintTop_toTopOf="parent" />
  660. <com.google.android.material.textview.MaterialTextView
  661. android:id="@+id/materialTextView"
  662. android:layout_width="0dp"
  663. android:layout_height="match_parent"
  664. android:gravity="center"
  665. android:text="Bet"
  666. android:textColor="@color/color_blue_800"
  667. android:textStyle="bold"
  668. app:layout_constraintBottom_toBottomOf="parent"
  669. app:layout_constraintEnd_toStartOf="@+id/guideline_odds"
  670. app:layout_constraintStart_toStartOf="@+id/guideline_id"
  671. app:layout_constraintTop_toTopOf="parent" />
  672. <com.google.android.material.textview.MaterialTextView
  673. android:id="@+id/tvStatementAmount"
  674. android:layout_width="0dp"
  675. android:layout_height="match_parent"
  676. android:gravity="center"
  677. android:text="Amount"
  678. android:textColor="@color/color_blue_800"
  679. android:textStyle="bold"
  680. app:layout_constraintBottom_toBottomOf="parent"
  681. app:layout_constraintEnd_toStartOf="@+id/guideline_options"
  682. app:layout_constraintStart_toStartOf="@+id/guideline_odds"
  683. app:layout_constraintTop_toTopOf="parent" />
  684. <com.google.android.material.textview.MaterialTextView
  685. android:id="@+id/materialTextView5"
  686. android:layout_width="0dp"
  687. android:layout_height="match_parent"
  688. android:gravity="center"
  689. android:text="Result"
  690. android:textColor="@color/color_blue_800"
  691. android:textStyle="bold"
  692. app:layout_constraintBottom_toBottomOf="parent"
  693. app:layout_constraintEnd_toStartOf="@+id/guideline_last"
  694. app:layout_constraintStart_toStartOf="@+id/guideline_options"
  695. app:layout_constraintTop_toTopOf="parent" />
  696. <com.google.android.material.textview.MaterialTextView
  697. android:id="@+id/materialTextView2"
  698. android:layout_width="0dp"
  699. android:layout_height="match_parent"
  700. android:gravity="center"
  701. android:text="Date"
  702. android:textColor="@color/color_blue_800"
  703. android:textStyle="bold"
  704. app:layout_constraintBottom_toBottomOf="parent"
  705. app:layout_constraintEnd_toEndOf="parent"
  706. app:layout_constraintStart_toStartOf="@+id/guideline_last"
  707. app:layout_constraintTop_toTopOf="parent" />
  708. </androidx.constraintlayout.widget.ConstraintLayout>
  709. <androidx.recyclerview.widget.RecyclerView
  710. android:id="@+id/rv_tb1"
  711. android:layout_width="match_parent"
  712. android:layout_height="0dp"
  713. android:layout_marginStart="1dp"
  714. android:layout_marginEnd="1dp"
  715. android:layout_weight="1"
  716. android:background="@android:color/transparent"
  717. android:clipToPadding="false"
  718. android:paddingBottom="8dp" />
  719. </androidx.appcompat.widget.LinearLayoutCompat>
  720. //result
  721. <androidx.appcompat.widget.LinearLayoutCompat
  722. android:id="@+id/lin_tab_2"
  723. android:layout_width="match_parent"
  724. android:layout_height="match_parent"
  725. android:layout_marginBottom="48dp"
  726. android:orientation="vertical"
  727. android:visibility="gone">
  728. <androidx.cardview.widget.CardView
  729. android:layout_width="match_parent"
  730. android:layout_height="48dp"
  731. android:layout_margin="2dp">
  732. <androidx.appcompat.widget.LinearLayoutCompat
  733. android:id="@+id/lin_result_date"
  734. android:layout_width="match_parent"
  735. android:layout_height="48dp"
  736. android:orientation="horizontal"
  737. android:padding="4dp"
  738. android:visibility="visible">
  739. <androidx.appcompat.widget.LinearLayoutCompat
  740. android:id="@+id/lin_start_2"
  741. android:layout_width="0dp"
  742. android:layout_height="match_parent"
  743. android:layout_weight="1"
  744. android:orientation="vertical">
  745. <com.google.android.material.textview.MaterialTextView
  746. android:layout_width="match_parent"
  747. android:layout_height="wrap_content"
  748. android:text="Start Date"
  749. android:textColor="@color/color_black"
  750. android:textSize="12sp"
  751. android:textStyle="bold" />
  752. <com.google.android.material.textview.MaterialTextView
  753. android:id="@+id/mtxt_result_start_date"
  754. android:layout_width="match_parent"
  755. android:layout_height="match_parent"
  756. android:gravity="center"
  757. android:textColor="@color/color_black"
  758. android:textSize="12sp"
  759. android:textStyle="bold" />
  760. </androidx.appcompat.widget.LinearLayoutCompat>
  761. <androidx.appcompat.widget.LinearLayoutCompat
  762. android:id="@+id/lin_end_2"
  763. android:layout_width="0dp"
  764. android:layout_height="match_parent"
  765. android:layout_weight="1"
  766. android:orientation="vertical">
  767. <com.google.android.material.textview.MaterialTextView
  768. android:layout_width="match_parent"
  769. android:layout_height="wrap_content"
  770. android:text="End Date"
  771. android:textColor="@color/color_black"
  772. android:textSize="12sp"
  773. android:textStyle="bold" />
  774. <com.google.android.material.textview.MaterialTextView
  775. android:id="@+id/mtxt_result_end_date"
  776. android:layout_width="match_parent"
  777. android:layout_height="match_parent"
  778. android:gravity="center"
  779. android:textColor="@color/color_black"
  780. android:textSize="12sp"
  781. android:textStyle="bold" />
  782. </androidx.appcompat.widget.LinearLayoutCompat>
  783. <androidx.appcompat.widget.AppCompatImageView
  784. android:id="@+id/imgResultClear"
  785. android:layout_width="48dp"
  786. android:layout_height="match_parent"
  787. android:padding="12dp"
  788. app:srcCompat="@drawable/ic_baseline_clear_24" />
  789. </androidx.appcompat.widget.LinearLayoutCompat>
  790. </androidx.cardview.widget.CardView>
  791. <androidx.constraintlayout.widget.ConstraintLayout
  792. android:layout_width="match_parent"
  793. android:layout_height="38dp"
  794. android:orientation="horizontal">
  795. <androidx.constraintlayout.widget.Guideline
  796. android:id="@+id/guideline_no"
  797. android:layout_width="wrap_content"
  798. android:layout_height="wrap_content"
  799. android:orientation="vertical"
  800. app:layout_constraintGuide_percent="0.15" />
  801. <androidx.constraintlayout.widget.Guideline
  802. android:id="@+id/guideline_gno"
  803. android:layout_width="wrap_content"
  804. android:layout_height="wrap_content"
  805. android:orientation="vertical"
  806. app:layout_constraintGuide_percent="0.35" />
  807. <androidx.constraintlayout.widget.Guideline
  808. android:id="@+id/guideline_result"
  809. android:layout_width="wrap_content"
  810. android:layout_height="wrap_content"
  811. android:orientation="vertical"
  812. app:layout_constraintGuide_percent="0.70" />
  813. <com.google.android.material.textview.MaterialTextView
  814. android:layout_width="0dp"
  815. android:layout_height="match_parent"
  816. android:gravity="center"
  817. android:text="No"
  818. android:textColor="@color/color_blue_800"
  819. android:textStyle="bold"
  820. app:layout_constraintBottom_toBottomOf="parent"
  821. app:layout_constraintEnd_toStartOf="@+id/guideline_no"
  822. app:layout_constraintStart_toStartOf="parent"
  823. app:layout_constraintTop_toTopOf="parent" />
  824. <com.google.android.material.textview.MaterialTextView
  825. android:layout_width="0dp"
  826. android:layout_height="match_parent"
  827. android:gravity="center"
  828. android:text="Group No"
  829. android:textColor="@color/color_blue_800"
  830. android:textStyle="bold"
  831. app:layout_constraintBottom_toBottomOf="parent"
  832. app:layout_constraintEnd_toStartOf="@+id/guideline_gno"
  833. app:layout_constraintStart_toStartOf="@+id/guideline_no"
  834. app:layout_constraintTop_toTopOf="parent" />
  835. <com.google.android.material.textview.MaterialTextView
  836. android:layout_width="0dp"
  837. android:layout_height="match_parent"
  838. android:gravity="center"
  839. android:text="Result"
  840. android:textColor="@color/color_blue_800"
  841. android:textStyle="bold"
  842. app:layout_constraintBottom_toBottomOf="parent"
  843. app:layout_constraintEnd_toStartOf="@+id/guideline_result"
  844. app:layout_constraintStart_toStartOf="@+id/guideline_gno"
  845. app:layout_constraintTop_toTopOf="parent" />
  846. <com.google.android.material.textview.MaterialTextView
  847. android:layout_width="0dp"
  848. android:layout_height="match_parent"
  849. android:gravity="center"
  850. android:text="date"
  851. android:textColor="@color/color_blue_800"
  852. android:textStyle="bold"
  853. app:layout_constraintBottom_toBottomOf="parent"
  854. app:layout_constraintEnd_toEndOf="parent"
  855. app:layout_constraintStart_toStartOf="@+id/guideline_result"
  856. app:layout_constraintTop_toTopOf="parent" />
  857. </androidx.constraintlayout.widget.ConstraintLayout>
  858. <androidx.recyclerview.widget.RecyclerView
  859. android:id="@+id/rv_tb2"
  860. android:layout_width="match_parent"
  861. android:layout_height="0dp"
  862. android:layout_marginStart="1dp"
  863. android:layout_marginEnd="1dp"
  864. android:layout_weight="1"
  865. android:background="@android:color/transparent"
  866. android:clipToPadding="false"
  867. android:paddingBottom="8dp" />
  868. </androidx.appcompat.widget.LinearLayoutCompat>
  869. //report
  870. <androidx.appcompat.widget.LinearLayoutCompat
  871. android:id="@+id/lin_tab_3"
  872. android:layout_width="match_parent"
  873. android:layout_height="match_parent"
  874. android:layout_marginBottom="48dp"
  875. android:orientation="vertical"
  876. android:visibility="gone">
  877. <androidx.constraintlayout.widget.ConstraintLayout
  878. android:layout_width="match_parent"
  879. android:layout_height="38dp"
  880. android:orientation="horizontal">
  881. <ImageView
  882. android:id="@+id/img_c1"
  883. android:layout_width="40dp"
  884. android:layout_height="match_parent"
  885. android:adjustViewBounds="true"
  886. android:padding="2dp"
  887. android:src="@drawable/bet"
  888. android:visibility="invisible"
  889. app:layout_constraintEnd_toStartOf="@+id/tv_c2"
  890. app:layout_constraintStart_toStartOf="parent"
  891. app:layout_constraintTop_toTopOf="parent"
  892. app:tint="@color/color_black" />
  893. <TextView
  894. android:id="@+id/tv_c2"
  895. android:layout_width="0dp"
  896. android:layout_height="0dp"
  897. android:layout_margin="2dp"
  898. android:gravity="center"
  899. android:text="Type"
  900. android:textColor="@color/color_blue_800"
  901. android:textStyle="bold"
  902. app:layout_constraintBottom_toBottomOf="@id/img_c1"
  903. app:layout_constraintEnd_toStartOf="@id/tv_c3"
  904. app:layout_constraintStart_toEndOf="@id/img_c1"
  905. app:layout_constraintTop_toTopOf="@id/img_c1" />
  906. <TextView
  907. android:id="@+id/tv_c3"
  908. android:layout_width="0dp"
  909. android:layout_height="0dp"
  910. android:layout_margin="2dp"
  911. android:gravity="center"
  912. android:text="Date"
  913. android:textColor="@color/color_blue_800"
  914. android:textStyle="bold"
  915. app:layout_constraintBottom_toBottomOf="@id/img_c1"
  916. app:layout_constraintEnd_toStartOf="@id/tvReportAmount"
  917. app:layout_constraintStart_toEndOf="@id/tv_c2"
  918. app:layout_constraintTop_toTopOf="@id/img_c1" />
  919. <TextView
  920. android:id="@+id/tvReportAmount"
  921. android:layout_width="0dp"
  922. android:layout_height="0dp"
  923. android:layout_margin="2dp"
  924. android:gravity="center"
  925. android:text="Amount"
  926. android:textColor="@color/color_blue_800"
  927. android:textStyle="bold"
  928. app:layout_constraintBottom_toBottomOf="@id/img_c1"
  929. app:layout_constraintEnd_toEndOf="parent"
  930. app:layout_constraintStart_toEndOf="@id/tv_c3"
  931. app:layout_constraintTop_toTopOf="@id/img_c1" />
  932. <View
  933. android:layout_width="match_parent"
  934. android:layout_height="1dp"
  935. android:background="@color/color_gray_600"
  936. app:layout_constraintEnd_toEndOf="parent"
  937. app:layout_constraintStart_toStartOf="parent"
  938. app:layout_constraintTop_toBottomOf="@id/img_c1" />
  939. </androidx.constraintlayout.widget.ConstraintLayout>
  940. <androidx.recyclerview.widget.RecyclerView
  941. android:id="@+id/rv_tb3"
  942. android:layout_width="match_parent"
  943. android:layout_height="0dp"
  944. android:layout_marginStart="1dp"
  945. android:layout_marginEnd="1dp"
  946. android:layout_weight="1"
  947. android:background="@android:color/transparent"
  948. android:clipToPadding="false"
  949. android:paddingBottom="8dp" />
  950. </androidx.appcompat.widget.LinearLayoutCompat>
  951. </androidx.appcompat.widget.LinearLayoutCompat>
  952. <com.google.android.material.button.MaterialButton
  953. android:id="@+id/btn_close"
  954. android:layout_width="150dp"
  955. android:layout_height="wrap_content"
  956. android:backgroundTint="@color/color_red_800"
  957. android:gravity="center"
  958. android:text="@string/close"
  959. android:textColor="@android:color/white"
  960. android:textSize="24sp"
  961. app:layout_constraintBottom_toBottomOf="parent"
  962. app:layout_constraintEnd_toEndOf="parent"
  963. app:layout_constraintStart_toStartOf="parent" />
  964. </androidx.constraintlayout.widget.ConstraintLayout>