259 lines
11 KiB
XML
259 lines
11 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
id="@+id/loan_detail_scrollview"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent">
|
|
<LinearLayout
|
|
orientation="vertical"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content">
|
|
<com.scb.phone.view.custom.common.WrapContentViewPager
|
|
id="@+id/loans_detail_view_pager"
|
|
layout_width="match_parent"
|
|
layout_height="0dp"
|
|
layout_marginTop="20dp"/>
|
|
<me.relex.circleindicator.CircleIndicator
|
|
id="@+id/loans_detail_indicator"
|
|
layout_width="match_parent"
|
|
layout_height="12dp"
|
|
layout_marginTop="6dp"
|
|
NOT_FOUND_0x1b="@drawable/dark_gray_radius"
|
|
NOT_FOUND_0x1c="@drawable/gray_radius"/>
|
|
<com.scb.phone.view.custom.common.CustomHorizontalProgressBar
|
|
id="@+id/loan_detail_progress_bar"
|
|
background="@drawable/bg_white_with_border"
|
|
paddingTop="9dp"
|
|
paddingBottom="24dp"
|
|
visibility="gone"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_marginTop="11dp"
|
|
paddingStart="16dp"
|
|
paddingEnd="16dp"
|
|
NOT_FOUND_0x16="@string/account_summary_loan_total"
|
|
NOT_FOUND_0x17="@color/2131099733"
|
|
NOT_FOUND_0x18="@drawable/card_yellow_progress_bar"
|
|
NOT_FOUND_0x19="@string/account_summary_loan_payed"
|
|
NOT_FOUND_0x1a="@color/2131100910"/>
|
|
<Button
|
|
id="@+id/btn_goto_level_up"
|
|
visibility="gone"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_marginTop="24dp"
|
|
text="@string/loan_goto_level_up"
|
|
layout_marginStart="16dp"
|
|
layout_marginEnd="16dp"
|
|
style="@style/2132017576"/>
|
|
<LinearLayout
|
|
orientation="vertical"
|
|
id="@+id/linear_loan_status_ok"
|
|
visibility="gone"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content">
|
|
<TextView
|
|
gravity="start|top"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_marginTop="20dp"
|
|
text="@string/bills_to_pay_label"
|
|
textAllCaps="true"
|
|
paddingStart="20dp"
|
|
paddingEnd="20dp"
|
|
style="@style/2132017929"/>
|
|
<com.scb.phone.view.custom.common.CustomBillsToPay
|
|
id="@+id/custom_bills_to_play"
|
|
background="@drawable/bg_white_rounded"
|
|
paddingTop="20dp"
|
|
paddingBottom="20dp"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
paddingStart="16dp"
|
|
paddingEnd="16dp"
|
|
layout_marginStart="20dp"
|
|
layout_marginEnd="20dp"
|
|
elevation="2dp"/>
|
|
<TextView
|
|
gravity="start|top"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_marginTop="20dp"
|
|
text="@string/loan_details_section_label"
|
|
textAllCaps="true"
|
|
paddingStart="20dp"
|
|
paddingEnd="20dp"
|
|
style="@style/2132017929"/>
|
|
<RelativeLayout
|
|
orientation="horizontal"
|
|
id="@+id/loan_detail_layout"
|
|
background="@drawable/bg_white_with_border"
|
|
padding="20dp"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_marginBottom="40dp">
|
|
<LinearLayout
|
|
orientation="horizontal"
|
|
id="@+id/account_name_section"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_marginTop="9dp">
|
|
<LinearLayout
|
|
orientation="vertical"
|
|
layout_width="0dp"
|
|
layout_height="wrap_content"
|
|
layout_weight="1">
|
|
<TextView
|
|
gravity="start"
|
|
layout_width="wrap_content"
|
|
layout_height="wrap_content"
|
|
text="@string/loan_detail_loan_type_label_value"
|
|
style="@style/2132017923"/>
|
|
<TextView
|
|
gravity="start"
|
|
id="@+id/loan_type_tv"
|
|
layout_width="wrap_content"
|
|
layout_height="wrap_content"
|
|
style="@style/2132017876"/>
|
|
</LinearLayout>
|
|
<ImageView
|
|
id="@+id/loan_detail_expand_arrow"
|
|
background="@drawable/ic_expand_more_black_24dp"
|
|
layout_width="wrap_content"
|
|
layout_height="wrap_content"
|
|
contentDescription="@null"/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
orientation="vertical"
|
|
id="@+id/account_detail_collapse_layout"
|
|
visibility="gone"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_below="@+id/account_name_section">
|
|
<View
|
|
background="#eae7ec"
|
|
layout_width="match_parent"
|
|
layout_height="1dp"
|
|
layout_marginTop="21dp"
|
|
layout_marginBottom="15dp"/>
|
|
<TextView
|
|
gravity="start"
|
|
layout_width="wrap_content"
|
|
layout_height="wrap_content"
|
|
text="@string/loan_detail_account_name_label_value"
|
|
layout_weight="1"
|
|
style="@style/2132017923"/>
|
|
<TextView
|
|
gravity="start"
|
|
id="@+id/loan_account_name_tv"
|
|
layout_width="wrap_content"
|
|
layout_height="wrap_content"
|
|
layout_weight="1"
|
|
style="@style/2132017876"/>
|
|
<LinearLayout
|
|
orientation="horizontal"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_marginTop="8dp">
|
|
<TextView
|
|
gravity="start"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
text="@string/loan_detail_installment_label"
|
|
layout_weight="1"
|
|
style="@style/2132017923"/>
|
|
<TextView
|
|
gravity="end"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
text="@string/loan_detail_interest_rate_label"
|
|
layout_weight="1"
|
|
style="@style/2132017923"/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
orientation="horizontal"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content">
|
|
<TextView
|
|
gravity="start"
|
|
id="@+id/installment_amount_value_tv"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_weight="1"
|
|
style="@style/2132017876"/>
|
|
<TextView
|
|
gravity="end"
|
|
id="@+id/interest_rate_tv"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_weight="1"
|
|
style="@style/2132017876"/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
orientation="horizontal"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_marginTop="8dp">
|
|
<TextView
|
|
gravity="start"
|
|
id="@+id/tvLatePaymentLabel"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
text="@string/loan_detail_late_payment_label"
|
|
layout_weight="1"
|
|
style="@style/2132017923"/>
|
|
<TextView
|
|
gravity="end"
|
|
id="@+id/tvLoanDetailTenorLabel"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_weight="1"
|
|
style="@style/2132017923"/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
orientation="horizontal"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content">
|
|
<TextView
|
|
gravity="start"
|
|
id="@+id/loan_detail_late_payments_tv"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_weight="1"
|
|
style="@style/2132017876"/>
|
|
<TextView
|
|
gravity="end"
|
|
id="@+id/loan_detail_tenor_tv"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_weight="1"
|
|
style="@style/2132017876"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
orientation="vertical"
|
|
id="@+id/linear_loan_status_restricted"
|
|
background="#ffffff"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_marginTop="11dp">
|
|
<View
|
|
layout_marginBottom="20dp"
|
|
style="@style/2132018228"/>
|
|
<TextView
|
|
gravity="center"
|
|
id="@+id/loan_detail_restricted_description_tv"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
text=""
|
|
layout_marginStart="20dp"
|
|
layout_marginEnd="20dp"
|
|
style="@style/2132017666"/>
|
|
<View
|
|
layout_marginTop="20dp"
|
|
style="@style/2132018228"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</androidx.core.widget.NestedScrollView>
|