568 lines
22 KiB
XML
568 lines
22 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
orientation="vertical"
|
|
id="@+id/ll_layout_point_x"
|
|
background="#f5f3f6"
|
|
visibility="gone"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content">
|
|
<LinearLayout
|
|
orientation="vertical"
|
|
id="@+id/ll_from_section"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content">
|
|
<View
|
|
id="@+id/vw_top_divider"
|
|
style="@style/2132018228"/>
|
|
<TextView
|
|
id="@+id/tv_from_section_title"
|
|
visibility="gone"
|
|
layout_width="wrap_content"
|
|
layout_height="wrap_content"
|
|
layout_marginTop="20dp"
|
|
text="@string/from"
|
|
layout_marginStart="16dp"
|
|
style="@style/2132017849"/>
|
|
<View
|
|
id="@+id/vw_top_space"
|
|
visibility="visible"
|
|
layout_width="match_parent"
|
|
layout_height="0dp"
|
|
layout_marginTop="14dp"/>
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
id="@+id/cs_point_card"
|
|
background="@drawable/bg_point_x_card"
|
|
visibility="gone"
|
|
layout_width="match_parent"
|
|
layout_height="150dp"
|
|
layout_marginTop="16dp"
|
|
elevation="1dp"
|
|
layout_marginHorizontal="@dimen/2131165444">
|
|
<RelativeLayout
|
|
layout_width="wrap_content"
|
|
layout_height="wrap_content"
|
|
layout_marginTop="16dp"
|
|
layout_marginStart="16dp"
|
|
NOT_FOUND_0x2b="0"
|
|
NOT_FOUND_0x2d="0">
|
|
<TextView
|
|
id="@+id/tv_point_label"
|
|
layout_width="wrap_content"
|
|
layout_height="wrap_content"
|
|
text="@string/card_title"
|
|
style="@style/2132017573"/>
|
|
<TextView
|
|
id="@+id/tv_points"
|
|
layout_width="wrap_content"
|
|
layout_height="wrap_content"
|
|
layout_marginTop="8dp"
|
|
layout_below="@+id/tv_point_label"
|
|
layout_alignStart="@+id/tv_point_label"
|
|
style="@style/2132017574"/>
|
|
</RelativeLayout>
|
|
<RelativeLayout
|
|
id="@+id/rl_card_temp_block"
|
|
visibility="gone"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent">
|
|
<ImageView
|
|
layout_width="match_parent"
|
|
layout_height="match_parent"
|
|
src="@drawable/bg_point_x_temp_block"
|
|
scaleType="fitXY"
|
|
contentDescription="@null"/>
|
|
<ImageView
|
|
id="@+id/iv_temp_block"
|
|
layout_width="wrap_content"
|
|
layout_height="wrap_content"
|
|
layout_marginTop="18dp"
|
|
src="@drawable/ic_e_coupon"
|
|
layout_centerHorizontal="true"
|
|
contentDescription="@null"/>
|
|
<TextView
|
|
id="@+id/tv_card_temp_block"
|
|
layout_width="wrap_content"
|
|
layout_height="wrap_content"
|
|
layout_marginTop="8dp"
|
|
text="@string/point_card_temp_block"
|
|
layout_below="@+id/iv_temp_block"
|
|
layout_centerHorizontal="true"
|
|
textAlignment="center"
|
|
layout_marginHorizontal="@dimen/2131165457"
|
|
style="@style/2132017902"/>
|
|
</RelativeLayout>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
id="@+id/cs_not_have_point_error"
|
|
background="#ffffff"
|
|
visibility="gone"
|
|
layout_width="match_parent"
|
|
layout_height="120dp">
|
|
<TextView
|
|
id="@+id/tv_not_have_point_error"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_marginTop="16dp"
|
|
layout_marginBottom="24dp"
|
|
text="@string/error_do_not_have_point"
|
|
textAlignment="center"
|
|
layout_marginHorizontal="@dimen/2131165433"
|
|
NOT_FOUND_0x29="0"
|
|
NOT_FOUND_0x2d="0"
|
|
style="@style/2132017849"/>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
id="@+id/cs_point_no_eligible"
|
|
background="#ffffff"
|
|
visibility="gone"
|
|
layout_width="match_parent"
|
|
layout_height="120dp">
|
|
<TextView
|
|
id="@+id/tv_point_no_eligible"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_marginTop="16dp"
|
|
layout_marginBottom="24dp"
|
|
textAlignment="center"
|
|
layout_marginHorizontal="@dimen/2131165433"
|
|
NOT_FOUND_0x29="0"
|
|
NOT_FOUND_0x2d="0"
|
|
style="@style/2132017849"/>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
id="@+id/cs_not_point_user"
|
|
background="#ffffff"
|
|
visibility="gone"
|
|
layout_width="match_parent"
|
|
layout_height="120dp">
|
|
<TextView
|
|
id="@+id/tv_not_point_user"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_marginTop="16dp"
|
|
layout_marginBottom="24dp"
|
|
text="@string/error_not_point_user"
|
|
textAlignment="center"
|
|
layout_marginHorizontal="@dimen/2131165433"
|
|
NOT_FOUND_0x29="0"
|
|
NOT_FOUND_0x2d="0"
|
|
style="@style/2132017849"/>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
id="@+id/cs_point_generic_error"
|
|
background="#ffffff"
|
|
visibility="gone"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content">
|
|
<TextView
|
|
id="@+id/tv_point_error_title"
|
|
layout_width="wrap_content"
|
|
layout_height="wrap_content"
|
|
layout_marginTop="16dp"
|
|
text="@string/error_point_title"
|
|
layout_marginStart="16dp"
|
|
NOT_FOUND_0x2b="0"
|
|
NOT_FOUND_0x2d="0"
|
|
style="@style/2132017849"/>
|
|
<TextView
|
|
layout_width="wrap_content"
|
|
layout_height="wrap_content"
|
|
layout_marginBottom="16dp"
|
|
text="@string/error_point_description"
|
|
NOT_FOUND_0x29="0"
|
|
NOT_FOUND_0x2b="@+id/tv_point_error_title"
|
|
NOT_FOUND_0x2c="@+id/tv_point_error_title"
|
|
style="@style/2132017920"/>
|
|
<ImageView
|
|
id="@+id/iv_reload_point"
|
|
layout_width="24dp"
|
|
layout_height="24dp"
|
|
src="@drawable/ic_reload_empty_item"
|
|
contentDescription="@null"
|
|
layout_marginEnd="16dp"
|
|
NOT_FOUND_0x29="0"
|
|
NOT_FOUND_0x2a="0"
|
|
NOT_FOUND_0x2d="0"/>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
orientation="vertical"
|
|
id="@+id/ll_to_section"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_marginTop="16dp">
|
|
<TextView
|
|
id="@+id/tv_to_section_title"
|
|
layout_width="wrap_content"
|
|
layout_height="wrap_content"
|
|
layout_marginBottom="8dp"
|
|
text="@string/to"
|
|
layout_marginStart="16dp"
|
|
style="@style/2132017849"/>
|
|
<LinearLayout
|
|
orientation="vertical"
|
|
id="@+id/ll_layout_to_account_source_section"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content">
|
|
<LinearLayout
|
|
orientation="horizontal"
|
|
id="@+id/ll_layout_to_section_id"
|
|
background="#ffffff"
|
|
paddingTop="16dp"
|
|
paddingBottom="22dp"
|
|
visibility="visible"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
paddingHorizontal="@dimen/2131165495">
|
|
<ImageView
|
|
id="@+id/iv_target"
|
|
layout_width="48dp"
|
|
layout_height="48dp"
|
|
src="@drawable/icon_prompt_pay_cid"
|
|
contentDescription="@null"/>
|
|
<LinearLayout
|
|
layout_gravity="center_vertical"
|
|
orientation="vertical"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_marginStart="8dp">
|
|
<TextView
|
|
id="@+id/tv_target_name"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
style="@style/2132017876"/>
|
|
<TextView
|
|
id="@+id/tv_target_description"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
style="@style/2132017664"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<View style="@style/2132018228"/>
|
|
<LinearLayout
|
|
orientation="vertical"
|
|
id="@+id/ll_point_ref_1"
|
|
background="#ffffff"
|
|
visibility="gone"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content">
|
|
<TextView
|
|
id="@+id/tv_ref_1_label"
|
|
paddingTop="16dp"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
paddingStart="16dp"
|
|
paddingEnd="0dp"
|
|
style="@style/2132017876"/>
|
|
<TextView
|
|
id="@+id/tv_ref_1_value"
|
|
paddingBottom="16dp"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
paddingStart="16dp"
|
|
paddingEnd="0dp"
|
|
style="@style/2132017664"/>
|
|
<View style="@style/2132018228"/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
orientation="vertical"
|
|
id="@+id/ll_point_ref_2"
|
|
background="#ffffff"
|
|
visibility="gone"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content">
|
|
<TextView
|
|
id="@+id/tv_ref_2_label"
|
|
paddingTop="16dp"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
paddingStart="16dp"
|
|
paddingEnd="0dp"
|
|
style="@style/2132017876"/>
|
|
<TextView
|
|
id="@+id/tv_ref_2_value"
|
|
paddingBottom="16dp"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
paddingStart="16dp"
|
|
paddingEnd="0dp"
|
|
style="@style/2132017664"/>
|
|
<View style="@style/2132018228"/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
orientation="vertical"
|
|
id="@+id/ll_point_ref_3"
|
|
background="#ffffff"
|
|
visibility="gone"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content">
|
|
<TextView
|
|
id="@+id/tv_ref_3_label"
|
|
paddingTop="16dp"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
paddingStart="16dp"
|
|
paddingEnd="0dp"
|
|
style="@style/2132017876"/>
|
|
<TextView
|
|
id="@+id/tv_ref_3_value"
|
|
paddingBottom="16dp"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
paddingStart="16dp"
|
|
paddingEnd="0dp"
|
|
style="@style/2132017664"/>
|
|
<View style="@style/2132018228"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
orientation="vertical"
|
|
id="@+id/ll_layout_to_credit_source_section"
|
|
visibility="gone"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content">
|
|
<LinearLayout
|
|
orientation="horizontal"
|
|
id="@+id/ll_layout_purchase"
|
|
background="#ffffff"
|
|
paddingTop="16dp"
|
|
paddingBottom="22dp"
|
|
visibility="visible"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
paddingHorizontal="@dimen/2131165495">
|
|
<ImageView
|
|
id="@+id/iv_purchase"
|
|
layout_width="50dp"
|
|
layout_height="50dp"
|
|
contentDescription="@null"/>
|
|
<LinearLayout
|
|
layout_gravity="center_vertical"
|
|
orientation="vertical"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_marginStart="8dp">
|
|
<TextView
|
|
ellipsize="end"
|
|
id="@+id/tv_merchant_title"
|
|
visibility="visible"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
maxLines="2"
|
|
style="@style/2132017876"/>
|
|
<TextView
|
|
id="@+id/tv_merchant_id"
|
|
visibility="visible"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
style="@style/2132017664"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<View style="@style/2132018228"/>
|
|
<LinearLayout
|
|
orientation="vertical"
|
|
id="@+id/ll_order_ref_1"
|
|
background="#ffffff"
|
|
visibility="gone"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content">
|
|
<TextView
|
|
id="@+id/tv_order_ref_1_label"
|
|
paddingTop="16dp"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
paddingStart="16dp"
|
|
paddingEnd="0dp"
|
|
style="@style/2132017876"/>
|
|
<TextView
|
|
id="@+id/tv_order_ref_1_value"
|
|
paddingBottom="16dp"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
paddingStart="16dp"
|
|
paddingEnd="0dp"
|
|
style="@style/2132017664"/>
|
|
<View style="@style/2132018228"/>
|
|
</LinearLayout>
|
|
<TextView
|
|
layout_gravity="end"
|
|
id="@+id/tv_terminal_id"
|
|
paddingTop="8dp"
|
|
visibility="gone"
|
|
layout_width="wrap_content"
|
|
layout_height="wrap_content"
|
|
text="@string/terminal_id"
|
|
paddingStart="0dp"
|
|
paddingEnd="16dp"
|
|
style="@style/2132017664"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
orientation="vertical"
|
|
id="@+id/ll_total_amount_section"
|
|
visibility="visible"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_marginTop="16dp">
|
|
<TextView
|
|
id="@+id/tv_total_amount_title"
|
|
layout_width="wrap_content"
|
|
layout_height="wrap_content"
|
|
layout_marginBottom="8dp"
|
|
text="@string/point_total_amount"
|
|
layout_marginStart="16dp"
|
|
style="@style/2132017849"/>
|
|
<LinearLayout
|
|
orientation="vertical"
|
|
id="@+id/ll_total_amount"
|
|
background="#ffffff"
|
|
padding="16dp"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content">
|
|
<TextView
|
|
gravity="end"
|
|
id="@+id/tv_total_amount_fixed"
|
|
visibility="gone"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
hint="@string/number_0"
|
|
style="@style/2132017891"/>
|
|
<com.scb.phone.view.custom.common.AmountEditText
|
|
theme="@style/2132017488"
|
|
textColorHint="#c9c6cd"
|
|
gravity="end"
|
|
id="@+id/et_total_amount"
|
|
visibility="visible"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
hint="@string/remittance_input_amount_from_hint"
|
|
inputType="numberDecimal"
|
|
imeOptions="actionDone"
|
|
style="@style/2132017891"/>
|
|
<TextView
|
|
gravity="end"
|
|
id="@+id/tv_inline_error_totalAmount"
|
|
visibility="gone"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
text="@string/point_inline_error_total_amount"
|
|
style="@style/2132017667"/>
|
|
</LinearLayout>
|
|
<TextView
|
|
gravity="end"
|
|
id="@+id/tv_total_amount_dairy_limit"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_marginTop="8dp"
|
|
paddingStart="0dp"
|
|
paddingEnd="16dp"
|
|
style="@style/2132017664"/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
orientation="vertical"
|
|
id="@+id/ll_custom"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_marginTop="16dp">
|
|
<TextView
|
|
id="@+id/tv_pay_with_point_option"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_marginBottom="8dp"
|
|
text="@string/pay_option_title"
|
|
layout_marginHorizontal="@dimen/2131165433"
|
|
style="@style/2132017849"/>
|
|
<View style="@style/2132018228"/>
|
|
<com.google.android.material.tabs.TabLayout
|
|
id="@+id/ctl_payment_option"
|
|
layout_width="match_parent"
|
|
layout_height="42dp"
|
|
NOT_FOUND_0x2e="0"
|
|
NOT_FOUND_0x2f="@dimen/2131166580"
|
|
NOT_FOUND_0x30="@dimen/2131166580"
|
|
NOT_FOUND_0x31="@dimen/2131166580"
|
|
NOT_FOUND_0x32="@dimen/2131166580"
|
|
style="@style/2132017164"/>
|
|
<View style="@style/2132018228"/>
|
|
<com.scb.phone.view.custom.common.FragmentWrapContentViewPager
|
|
id="@+id/vp_payment_option"
|
|
background="#aea1ff"
|
|
layout_width="match_parent"
|
|
layout_height="0dp"
|
|
NOT_FOUND_0x33="true"/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
orientation="vertical"
|
|
id="@+id/ll_more_options_section"
|
|
visibility="visible"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_marginTop="16dp">
|
|
<TextView
|
|
id="@+id/tv_more_option_title"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_marginBottom="8dp"
|
|
text="@string/point_more_options"
|
|
layout_marginStart="16dp"
|
|
style="@style/2132017849"/>
|
|
<LinearLayout
|
|
orientation="vertical"
|
|
id="@+id/ll_note_edit"
|
|
background="#ffffff"
|
|
paddingTop="8dp"
|
|
paddingBottom="24dp"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content">
|
|
<com.scb.phone.view.custom.common.NoteEditText
|
|
id="@+id/et_note"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
orientation="vertical"
|
|
id="@+id/ll_term_and_condition_section"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_marginTop="16dp">
|
|
<TextView
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
text="@string/point_term_and_condition"
|
|
layout_marginStart="16dp"
|
|
style="@style/2132017849"/>
|
|
<LinearLayout
|
|
orientation="horizontal"
|
|
background="#ffffff"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_marginTop="8dp"
|
|
paddingStart="16dp"
|
|
paddingEnd="0dp"
|
|
paddingVertical="@dimen/2131165495">
|
|
<CheckBox
|
|
id="@+id/cb_term_and_cond"
|
|
layout_width="wrap_content"
|
|
layout_height="wrap_content"
|
|
button="@drawable/terms_checkbox_selector"
|
|
layout_marginEnd="8dp"/>
|
|
<TextView
|
|
id="@+id/tv_term_and_cond"
|
|
layout_width="wrap_content"
|
|
layout_height="wrap_content"
|
|
style="@style/2132017664"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<Button
|
|
enabled="false"
|
|
id="@+id/bt_review"
|
|
layout_width="match_parent"
|
|
layout_height="50dp"
|
|
layout_marginLeft="16dp"
|
|
layout_marginRight="16dp"
|
|
text="@string/review"
|
|
layout_marginVertical="@dimen/2131165444"
|
|
style="@style/2132017576"/>
|
|
</LinearLayout>
|