1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087 |
- <?xml version="1.0" encoding="utf-8"?>
- <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:animateLayoutChanges="true"
- android:background="@color/color_white"
- android:clickable="true"
- android:focusable="true"
- tools:context=".screen.report.StatementFragment">
- <androidx.appcompat.widget.LinearLayoutCompat
- android:id="@+id/lin_main_tab"
- android:layout_width="match_parent"
- android:layout_height="48dp"
- android:background="@drawable/bg_main_color"
- android:orientation="horizontal"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent">
- <androidx.appcompat.widget.LinearLayoutCompat
- android:id="@+id/linMainTabDeposit"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:orientation="vertical">
- <com.google.android.material.textview.MaterialTextView
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:gravity="center"
- android:text="Deposit"
- android:textColor="@color/color_white" />
- <View
- android:id="@+id/bg_select_deposit"
- android:layout_width="match_parent"
- android:layout_height="4dp"
- android:background="@color/color_white"
- android:visibility="visible" />
- </androidx.appcompat.widget.LinearLayoutCompat>
- <androidx.appcompat.widget.LinearLayoutCompat
- android:id="@+id/linMainTabWithdraw"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:orientation="vertical">
- <com.google.android.material.textview.MaterialTextView
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:gravity="center"
- android:text="Withdraw"
- android:textColor="@color/color_white" />
- <View
- android:id="@+id/bg_select_withdraw"
- android:layout_width="match_parent"
- android:layout_height="4dp"
- android:background="@color/color_white"
- android:visibility="invisible" />
- </androidx.appcompat.widget.LinearLayoutCompat>
- <androidx.appcompat.widget.LinearLayoutCompat
- android:id="@+id/linTabMainStatement"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:orientation="vertical">
- <com.google.android.material.textview.MaterialTextView
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:gravity="center"
- android:text="Statement"
- android:textColor="@color/color_white" />
- <View
- android:id="@+id/bg_select_tab1"
- android:layout_width="match_parent"
- android:layout_height="4dp"
- android:background="@drawable/bg_box"
- android:visibility="invisible" />
- </androidx.appcompat.widget.LinearLayoutCompat>
- <androidx.appcompat.widget.LinearLayoutCompat
- android:id="@+id/linTabResult"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:orientation="vertical">
- <com.google.android.material.textview.MaterialTextView
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:gravity="center"
- android:text="Result"
- android:textColor="@color/color_white" />
- <View
- android:id="@+id/bg_select_tab2"
- android:layout_width="match_parent"
- android:layout_height="4dp"
- android:background="@color/color_white"
- android:visibility="invisible" />
- </androidx.appcompat.widget.LinearLayoutCompat>
- <androidx.appcompat.widget.LinearLayoutCompat
- android:id="@+id/linTabReport"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:orientation="vertical"
- android:visibility="gone">
- <com.google.android.material.textview.MaterialTextView
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:gravity="center"
- android:text="Report"
- android:textColor="@color/color_white" />
- <View
- android:id="@+id/bg_select_tab3"
- android:layout_width="match_parent"
- android:layout_height="4dp"
- android:background="@color/color_white"
- android:visibility="invisible" />
- </androidx.appcompat.widget.LinearLayoutCompat>
- </androidx.appcompat.widget.LinearLayoutCompat>
- <ProgressBar
- android:id="@+id/progress"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/lin_main_tab" />
- <androidx.appcompat.widget.LinearLayoutCompat
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:animateLayoutChanges="true"
- android:orientation="vertical"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/lin_main_tab">
- //deposit
- <androidx.appcompat.widget.LinearLayoutCompat
- android:id="@+id/lin_tab_deposit"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginBottom="48dp"
- android:orientation="vertical"
- android:visibility="visible">
- <androidx.cardview.widget.CardView
- android:layout_width="match_parent"
- android:layout_height="48dp"
- android:layout_margin="2dp">
- <androidx.appcompat.widget.LinearLayoutCompat
- android:id="@+id/linDepositDate"
- android:layout_width="match_parent"
- android:layout_height="48dp"
- android:orientation="horizontal"
- android:padding="2dp"
- android:visibility="visible">
- <androidx.appcompat.widget.LinearLayoutCompat
- android:id="@+id/dep_start"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:orientation="vertical">
- <com.google.android.material.textview.MaterialTextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="Start Date"
- android:textColor="@color/text_black"
- android:textSize="12sp"
- android:textStyle="bold" />
- <com.google.android.material.textview.MaterialTextView
- android:id="@+id/mtxtDepositStartDate"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:gravity="center"
- android:textColor="@color/text_black"
- android:textStyle="bold" />
- </androidx.appcompat.widget.LinearLayoutCompat>
- <androidx.appcompat.widget.LinearLayoutCompat
- android:id="@+id/dep_end"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:orientation="vertical">
- <com.google.android.material.textview.MaterialTextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="End Date"
- android:textColor="@color/text_black"
- android:textSize="12sp"
- android:textStyle="bold" />
- <com.google.android.material.textview.MaterialTextView
- android:id="@+id/mtxtDepositEndDate"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:gravity="center"
- android:textColor="@color/text_black"
- android:textStyle="bold" />
- </androidx.appcompat.widget.LinearLayoutCompat>
- <androidx.appcompat.widget.AppCompatImageView
- android:id="@+id/imgDepositClear"
- android:layout_width="48dp"
- android:layout_height="match_parent"
- android:padding="12dp"
- app:srcCompat="@drawable/ic_baseline_clear_24" />
- </androidx.appcompat.widget.LinearLayoutCompat>
- </androidx.cardview.widget.CardView>
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@color/number_6"
- android:orientation="horizontal">
- <com.google.android.material.textview.MaterialTextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Total Amount: "
- android:textColor="@color/color_green_800"
- android:textStyle="bold"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toStartOf="@+id/tvDepTurnOver"
- app:layout_constraintTop_toTopOf="parent" />
- <com.google.android.material.textview.MaterialTextView
- android:id="@+id/tvDepTurnOver"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginStart="8dp"
- android:layout_marginEnd="8dp"
- android:layout_weight="1"
- android:text="0.00"
- android:textColor="@color/color_green_800"
- android:textStyle="bold"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- </androidx.constraintlayout.widget.ConstraintLayout>
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="38dp"
- android:orientation="horizontal">
- <androidx.constraintlayout.widget.Guideline
- android:id="@+id/guideline_dep1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- app:layout_constraintGuide_percent="0.25" />
- <androidx.constraintlayout.widget.Guideline
- android:id="@+id/guideline_dep2"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- app:layout_constraintGuide_percent="0.50" />
- <androidx.constraintlayout.widget.Guideline
- android:id="@+id/guideline_dep3"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- app:layout_constraintGuide_begin="309dp" />
- <com.google.android.material.textview.MaterialTextView
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:gravity="center"
- android:text="Date"
- android:textColor="@color/color_blue_800"
- android:textStyle="bold"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toStartOf="@+id/guideline_dep1"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <com.google.android.material.textview.MaterialTextView
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:gravity="center"
- android:text="Old Balance"
- android:textColor="@color/color_blue_800"
- android:textStyle="bold"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toStartOf="@+id/guideline_dep2"
- app:layout_constraintStart_toStartOf="@+id/guideline_dep1"
- app:layout_constraintTop_toTopOf="parent" />
- <com.google.android.material.textview.MaterialTextView
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:gravity="center"
- android:text="New Balance"
- android:textColor="@color/color_blue_800"
- android:textStyle="bold"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toStartOf="@+id/guideline_dep3"
- app:layout_constraintStart_toStartOf="@+id/guideline_dep2"
- app:layout_constraintTop_toTopOf="parent" />
- <com.google.android.material.textview.MaterialTextView
- android:id="@+id/tvDepAmount"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:gravity="center"
- android:text="Amount"
- android:textColor="@color/color_blue_800"
- android:textStyle="bold"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="@+id/guideline_dep3"
- app:layout_constraintTop_toTopOf="parent" />
- </androidx.constraintlayout.widget.ConstraintLayout>
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/rv_tb_deposit"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_marginStart="1dp"
- android:layout_marginEnd="1dp"
- android:layout_weight="1"
- android:background="@android:color/transparent"
- android:clipToPadding="false"
- android:paddingBottom="8dp" />
- </androidx.appcompat.widget.LinearLayoutCompat>
- //withdraw
- <androidx.appcompat.widget.LinearLayoutCompat
- android:id="@+id/lin_tab_withdraw"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginBottom="48dp"
- android:orientation="vertical"
- android:visibility="gone">
- <androidx.cardview.widget.CardView
- android:layout_width="match_parent"
- android:layout_height="48dp"
- android:layout_margin="2dp">
- <androidx.appcompat.widget.LinearLayoutCompat
- android:id="@+id/linWithdrawDate"
- android:layout_width="match_parent"
- android:layout_height="48dp"
- android:orientation="horizontal"
- android:padding="4dp"
- android:visibility="visible">
- <androidx.appcompat.widget.LinearLayoutCompat
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:orientation="vertical">
- <com.google.android.material.textview.MaterialTextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="Start Date"
- android:textColor="@color/text_black"
- android:textSize="12sp"
- android:textStyle="bold" />
- <com.google.android.material.textview.MaterialTextView
- android:id="@+id/mtxtWithdrawStartDate"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:gravity="center"
- android:textColor="@color/text_black"
- android:textStyle="bold" />
- </androidx.appcompat.widget.LinearLayoutCompat>
- <androidx.appcompat.widget.LinearLayoutCompat
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:orientation="vertical">
- <com.google.android.material.textview.MaterialTextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="End Date"
- android:textColor="@color/text_black"
- android:textSize="12sp"
- android:textStyle="bold" />
- <com.google.android.material.textview.MaterialTextView
- android:id="@+id/mtxtWithdrawEndDate"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:gravity="center"
- android:textColor="@color/text_black"
- android:textStyle="bold" />
- </androidx.appcompat.widget.LinearLayoutCompat>
- <androidx.appcompat.widget.AppCompatImageView
- android:id="@+id/imgWithdrawClear"
- android:layout_width="48dp"
- android:layout_height="match_parent"
- android:padding="12dp"
- android:visibility="visible"
- app:srcCompat="@drawable/ic_baseline_clear_24" />
- </androidx.appcompat.widget.LinearLayoutCompat>
- </androidx.cardview.widget.CardView>
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@color/number_6"
- android:orientation="horizontal">
- <com.google.android.material.textview.MaterialTextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Total Amount: "
- android:textColor="@color/color_green_800"
- android:textStyle="bold"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toStartOf="@+id/tvWithTurnOver"
- app:layout_constraintTop_toTopOf="parent" />
- <com.google.android.material.textview.MaterialTextView
- android:id="@+id/tvWithTurnOver"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginStart="8dp"
- android:layout_marginEnd="8dp"
- android:layout_weight="1"
- android:text="0.00"
- android:textColor="@color/color_green_800"
- android:textStyle="bold"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- </androidx.constraintlayout.widget.ConstraintLayout>
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="38dp"
- android:orientation="horizontal">
- <androidx.constraintlayout.widget.Guideline
- android:id="@+id/guideline_with1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- app:layout_constraintGuide_percent="0.25" />
- <androidx.constraintlayout.widget.Guideline
- android:id="@+id/guideline_with2"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- app:layout_constraintGuide_percent="0.50" />
- <androidx.constraintlayout.widget.Guideline
- android:id="@+id/guideline_with3"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- app:layout_constraintGuide_percent="0.75" />
- <com.google.android.material.textview.MaterialTextView
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:gravity="center"
- android:text="Date"
- android:textColor="@color/color_blue_800"
- android:textStyle="bold"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toStartOf="@+id/guideline_with1"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <com.google.android.material.textview.MaterialTextView
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:gravity="center"
- android:text="Old Balance"
- android:textColor="@color/color_blue_800"
- android:textStyle="bold"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toStartOf="@+id/guideline_with2"
- app:layout_constraintStart_toStartOf="@+id/guideline_with1"
- app:layout_constraintTop_toTopOf="parent" />
- <com.google.android.material.textview.MaterialTextView
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:gravity="center"
- android:text="New Balance"
- android:textColor="@color/color_blue_800"
- android:textStyle="bold"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toStartOf="@+id/guideline_with3"
- app:layout_constraintStart_toStartOf="@+id/guideline_with2"
- app:layout_constraintTop_toTopOf="parent" />
- <com.google.android.material.textview.MaterialTextView
- android:id="@+id/tvWithAmount"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:gravity="center"
- android:text="Amount"
- android:textColor="@color/color_blue_800"
- android:textStyle="bold"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="@+id/guideline_with3"
- app:layout_constraintTop_toTopOf="parent" />
- </androidx.constraintlayout.widget.ConstraintLayout>
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/rv_tb_withdraw"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_marginStart="1dp"
- android:layout_marginEnd="1dp"
- android:layout_weight="1"
- android:background="@android:color/transparent"
- android:clipToPadding="false"
- android:paddingBottom="8dp" />
- </androidx.appcompat.widget.LinearLayoutCompat>
- //statement
- <androidx.appcompat.widget.LinearLayoutCompat
- android:id="@+id/lin_tab_1"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginBottom="48dp"
- android:orientation="vertical"
- android:visibility="gone">
- <androidx.cardview.widget.CardView
- android:layout_width="match_parent"
- android:layout_height="48dp"
- android:layout_margin="2dp">
- <androidx.appcompat.widget.LinearLayoutCompat
- android:id="@+id/lin_statement_date"
- android:layout_width="match_parent"
- android:layout_height="48dp"
- android:orientation="horizontal"
- android:padding="4dp">
- <androidx.appcompat.widget.LinearLayoutCompat
- android:id="@+id/lin_start_1"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:orientation="vertical">
- <com.google.android.material.textview.MaterialTextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="Start Date"
- android:textColor="@color/text_black"
- android:textSize="12sp"
- android:textStyle="bold" />
- <com.google.android.material.textview.MaterialTextView
- android:id="@+id/mtxt_statement_start_date"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center"
- android:textColor="@color/text_black"
- android:textSize="12sp"
- android:textStyle="bold" />
- </androidx.appcompat.widget.LinearLayoutCompat>
- <androidx.appcompat.widget.LinearLayoutCompat
- android:id="@+id/lin_end_1"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:orientation="vertical">
- <com.google.android.material.textview.MaterialTextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="End Date"
- android:textColor="@color/text_black"
- android:textSize="12sp"
- android:textStyle="bold" />
- <com.google.android.material.textview.MaterialTextView
- android:id="@+id/mtxt_statement_end_date"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center"
- android:textColor="@color/text_black"
- android:textSize="12sp"
- android:textStyle="bold" />
- </androidx.appcompat.widget.LinearLayoutCompat>
- <androidx.appcompat.widget.AppCompatImageView
- android:id="@+id/imgStatementClear"
- android:layout_width="48dp"
- android:layout_height="match_parent"
- android:padding="12dp"
- app:srcCompat="@drawable/ic_baseline_clear_24" />
- </androidx.appcompat.widget.LinearLayoutCompat>
- </androidx.cardview.widget.CardView>
- <androidx.appcompat.widget.LinearLayoutCompat
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <androidx.appcompat.widget.LinearLayoutCompat
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:background="@color/number_6"
- android:orientation="vertical"
- android:padding="4dp">
- <com.google.android.material.textview.MaterialTextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:text="Total TurnOver"
- android:textColor="@color/color_green_800"
- android:textSize="12sp"
- android:textStyle="bold" />
- <com.google.android.material.textview.MaterialTextView
- android:id="@+id/mtxt_statement_turnover"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:text="0"
- android:textColor="@color/color_green_800"
- android:textSize="14sp"
- android:textStyle="bold" />
- </androidx.appcompat.widget.LinearLayoutCompat>
- <androidx.appcompat.widget.LinearLayoutCompat
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:background="@color/number_6"
- android:orientation="vertical"
- android:padding="4dp">
- <com.google.android.material.textview.MaterialTextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:text="Total WIN\LOSE"
- android:textColor="@color/color_green_800"
- android:textSize="12sp"
- android:textStyle="bold" />
- <com.google.android.material.textview.MaterialTextView
- android:id="@+id/mtxt_statement_winlose"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:text="0"
- android:textColor="@color/color_green_800"
- android:textSize="14sp"
- android:textStyle="bold" />
- </androidx.appcompat.widget.LinearLayoutCompat>
- </androidx.appcompat.widget.LinearLayoutCompat>
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="38dp"
- android:orientation="horizontal">
- <androidx.constraintlayout.widget.Guideline
- android:id="@+id/guideline_id"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- app:layout_constraintGuide_percent="0.10" />
- <androidx.constraintlayout.widget.Guideline
- android:id="@+id/guideline_odds"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- app:layout_constraintGuide_percent="0.25" />
- <androidx.constraintlayout.widget.Guideline
- android:id="@+id/guideline_options"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- app:layout_constraintGuide_percent="0.60" />
- <androidx.constraintlayout.widget.Guideline
- android:id="@+id/guideline_last"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- app:layout_constraintGuide_percent="0.75" />
- <com.google.android.material.textview.MaterialTextView
- android:id="@+id/materialTextView4"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:gravity="center"
- android:text="No"
- android:textColor="@color/color_blue_800"
- android:textStyle="bold"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toStartOf="@+id/guideline_id"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <com.google.android.material.textview.MaterialTextView
- android:id="@+id/materialTextView"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:gravity="center"
- android:text="Bet"
- android:textColor="@color/color_blue_800"
- android:textStyle="bold"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toStartOf="@+id/guideline_odds"
- app:layout_constraintStart_toStartOf="@+id/guideline_id"
- app:layout_constraintTop_toTopOf="parent" />
- <com.google.android.material.textview.MaterialTextView
- android:id="@+id/tvStatementAmount"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:gravity="center"
- android:text="Amount"
- android:textColor="@color/color_blue_800"
- android:textStyle="bold"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toStartOf="@+id/guideline_options"
- app:layout_constraintStart_toStartOf="@+id/guideline_odds"
- app:layout_constraintTop_toTopOf="parent" />
- <com.google.android.material.textview.MaterialTextView
- android:id="@+id/materialTextView5"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:gravity="center"
- android:text="Result"
- android:textColor="@color/color_blue_800"
- android:textStyle="bold"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toStartOf="@+id/guideline_last"
- app:layout_constraintStart_toStartOf="@+id/guideline_options"
- app:layout_constraintTop_toTopOf="parent" />
- <com.google.android.material.textview.MaterialTextView
- android:id="@+id/materialTextView2"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:gravity="center"
- android:text="Date"
- android:textColor="@color/color_blue_800"
- android:textStyle="bold"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="@+id/guideline_last"
- app:layout_constraintTop_toTopOf="parent" />
- </androidx.constraintlayout.widget.ConstraintLayout>
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/rv_tb1"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_marginStart="1dp"
- android:layout_marginEnd="1dp"
- android:layout_weight="1"
- android:background="@android:color/transparent"
- android:clipToPadding="false"
- android:paddingBottom="8dp" />
- </androidx.appcompat.widget.LinearLayoutCompat>
- //result
- <androidx.appcompat.widget.LinearLayoutCompat
- android:id="@+id/lin_tab_2"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginBottom="48dp"
- android:orientation="vertical"
- android:visibility="gone">
- <androidx.cardview.widget.CardView
- android:layout_width="match_parent"
- android:layout_height="48dp"
- android:layout_margin="2dp">
- <androidx.appcompat.widget.LinearLayoutCompat
- android:id="@+id/lin_result_date"
- android:layout_width="match_parent"
- android:layout_height="48dp"
- android:orientation="horizontal"
- android:padding="4dp"
- android:visibility="visible">
- <androidx.appcompat.widget.LinearLayoutCompat
- android:id="@+id/lin_start_2"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:orientation="vertical">
- <com.google.android.material.textview.MaterialTextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="Start Date"
- android:textColor="@color/color_black"
- android:textSize="12sp"
- android:textStyle="bold" />
- <com.google.android.material.textview.MaterialTextView
- android:id="@+id/mtxt_result_start_date"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center"
- android:textColor="@color/color_black"
- android:textSize="12sp"
- android:textStyle="bold" />
- </androidx.appcompat.widget.LinearLayoutCompat>
- <androidx.appcompat.widget.LinearLayoutCompat
- android:id="@+id/lin_end_2"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:orientation="vertical">
- <com.google.android.material.textview.MaterialTextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="End Date"
- android:textColor="@color/color_black"
- android:textSize="12sp"
- android:textStyle="bold" />
- <com.google.android.material.textview.MaterialTextView
- android:id="@+id/mtxt_result_end_date"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center"
- android:textColor="@color/color_black"
- android:textSize="12sp"
- android:textStyle="bold" />
- </androidx.appcompat.widget.LinearLayoutCompat>
- <androidx.appcompat.widget.AppCompatImageView
- android:id="@+id/imgResultClear"
- android:layout_width="48dp"
- android:layout_height="match_parent"
- android:padding="12dp"
- app:srcCompat="@drawable/ic_baseline_clear_24" />
- </androidx.appcompat.widget.LinearLayoutCompat>
- </androidx.cardview.widget.CardView>
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="38dp"
- android:orientation="horizontal">
- <androidx.constraintlayout.widget.Guideline
- android:id="@+id/guideline_no"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- app:layout_constraintGuide_percent="0.15" />
- <androidx.constraintlayout.widget.Guideline
- android:id="@+id/guideline_gno"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- app:layout_constraintGuide_percent="0.35" />
- <androidx.constraintlayout.widget.Guideline
- android:id="@+id/guideline_result"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- app:layout_constraintGuide_percent="0.70" />
- <com.google.android.material.textview.MaterialTextView
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:gravity="center"
- android:text="No"
- android:textColor="@color/color_blue_800"
- android:textStyle="bold"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toStartOf="@+id/guideline_no"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <com.google.android.material.textview.MaterialTextView
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:gravity="center"
- android:text="Group No"
- android:textColor="@color/color_blue_800"
- android:textStyle="bold"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toStartOf="@+id/guideline_gno"
- app:layout_constraintStart_toStartOf="@+id/guideline_no"
- app:layout_constraintTop_toTopOf="parent" />
- <com.google.android.material.textview.MaterialTextView
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:gravity="center"
- android:text="Result"
- android:textColor="@color/color_blue_800"
- android:textStyle="bold"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toStartOf="@+id/guideline_result"
- app:layout_constraintStart_toStartOf="@+id/guideline_gno"
- app:layout_constraintTop_toTopOf="parent" />
- <com.google.android.material.textview.MaterialTextView
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:gravity="center"
- android:text="date"
- android:textColor="@color/color_blue_800"
- android:textStyle="bold"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="@+id/guideline_result"
- app:layout_constraintTop_toTopOf="parent" />
- </androidx.constraintlayout.widget.ConstraintLayout>
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/rv_tb2"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_marginStart="1dp"
- android:layout_marginEnd="1dp"
- android:layout_weight="1"
- android:background="@android:color/transparent"
- android:clipToPadding="false"
- android:paddingBottom="8dp" />
- </androidx.appcompat.widget.LinearLayoutCompat>
- //report
- <androidx.appcompat.widget.LinearLayoutCompat
- android:id="@+id/lin_tab_3"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginBottom="48dp"
- android:orientation="vertical"
- android:visibility="gone">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="38dp"
- android:orientation="horizontal">
- <ImageView
- android:id="@+id/img_c1"
- android:layout_width="40dp"
- android:layout_height="match_parent"
- android:adjustViewBounds="true"
- android:padding="2dp"
- android:src="@drawable/bet"
- android:visibility="invisible"
- app:layout_constraintEnd_toStartOf="@+id/tv_c2"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:tint="@color/color_black" />
- <TextView
- android:id="@+id/tv_c2"
- android:layout_width="0dp"
- android:layout_height="0dp"
- android:layout_margin="2dp"
- android:gravity="center"
- android:text="Type"
- android:textColor="@color/color_blue_800"
- android:textStyle="bold"
- app:layout_constraintBottom_toBottomOf="@id/img_c1"
- app:layout_constraintEnd_toStartOf="@id/tv_c3"
- app:layout_constraintStart_toEndOf="@id/img_c1"
- app:layout_constraintTop_toTopOf="@id/img_c1" />
- <TextView
- android:id="@+id/tv_c3"
- android:layout_width="0dp"
- android:layout_height="0dp"
- android:layout_margin="2dp"
- android:gravity="center"
- android:text="Date"
- android:textColor="@color/color_blue_800"
- android:textStyle="bold"
- app:layout_constraintBottom_toBottomOf="@id/img_c1"
- app:layout_constraintEnd_toStartOf="@id/tvReportAmount"
- app:layout_constraintStart_toEndOf="@id/tv_c2"
- app:layout_constraintTop_toTopOf="@id/img_c1" />
- <TextView
- android:id="@+id/tvReportAmount"
- android:layout_width="0dp"
- android:layout_height="0dp"
- android:layout_margin="2dp"
- android:gravity="center"
- android:text="Amount"
- android:textColor="@color/color_blue_800"
- android:textStyle="bold"
- app:layout_constraintBottom_toBottomOf="@id/img_c1"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toEndOf="@id/tv_c3"
- app:layout_constraintTop_toTopOf="@id/img_c1" />
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/color_gray_600"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/img_c1" />
- </androidx.constraintlayout.widget.ConstraintLayout>
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/rv_tb3"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_marginStart="1dp"
- android:layout_marginEnd="1dp"
- android:layout_weight="1"
- android:background="@android:color/transparent"
- android:clipToPadding="false"
- android:paddingBottom="8dp" />
- </androidx.appcompat.widget.LinearLayoutCompat>
- </androidx.appcompat.widget.LinearLayoutCompat>
- <com.google.android.material.button.MaterialButton
- android:id="@+id/btn_close"
- android:layout_width="150dp"
- android:layout_height="wrap_content"
- android:backgroundTint="@color/color_red_800"
- android:gravity="center"
- android:text="@string/close"
- android:textColor="@android:color/white"
- android:textSize="24sp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent" />
- </androidx.constraintlayout.widget.ConstraintLayout>
|