285 lines
10 KiB
XML
285 lines
10 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"
|
|
background="#f5f3f6"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content">
|
|
<LinearLayout
|
|
orientation="vertical"
|
|
id="@+id/ll_layout_point_only"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content">
|
|
<LinearLayout
|
|
orientation="vertical"
|
|
id="@+id/ll_pay_with_point_only"
|
|
background="#ffffff"
|
|
padding="16dp"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content">
|
|
<TextView
|
|
id="@+id/tv_pay_with_point_only"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
text="@string/pay_with_point"
|
|
style="@style/2132017849"/>
|
|
<TextView
|
|
gravity="end"
|
|
id="@+id/tv_pay_with_point_fixed"
|
|
visibility="visible"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
hint="@string/number_0"
|
|
style="@style/2132017891"/>
|
|
</LinearLayout>
|
|
<TextView
|
|
gravity="end"
|
|
id="@+id/tv_fixed_point_exchange_rate"
|
|
visibility="visible"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_marginTop="7dp"
|
|
text="@string/point_exchange_rate"
|
|
layout_marginEnd="15dp"
|
|
style="@style/2132017664"/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
orientation="vertical"
|
|
id="@+id/ll_layout_point_with_money"
|
|
visibility="gone"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content">
|
|
<LinearLayout
|
|
orientation="vertical"
|
|
id="@+id/ll_pay_with_point"
|
|
background="#ffffff"
|
|
padding="16dp"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content">
|
|
<TextView
|
|
id="@+id/tv_pay_with_point_with_money"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
text="@string/pay_with_point"
|
|
style="@style/2132017849"/>
|
|
<com.scb.phone.view.custom.common.CustomEditText
|
|
theme="@style/2132017488"
|
|
textColorHint="#c9c6cd"
|
|
gravity="end"
|
|
id="@+id/et_pay_with_point"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
hint="@string/number_0"
|
|
inputType="number"
|
|
imeOptions="actionDone"
|
|
style="@style/2132017891"/>
|
|
<TextView
|
|
gravity="end"
|
|
id="@+id/tv_error_inline_pay_with_point"
|
|
visibility="gone"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_marginTop="8dp"
|
|
style="@style/2132017667"/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
orientation="vertical"
|
|
id="@+id/ll_pay_with_point_value"
|
|
background="#ffffff"
|
|
padding="16dp"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content">
|
|
<TextView
|
|
id="@+id/tv_points_value_label"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
text="@string/point_value"
|
|
style="@style/2132017849"/>
|
|
<TextView
|
|
theme="@style/2132017488"
|
|
textColorHint="#c9c6cd"
|
|
gravity="end"
|
|
id="@+id/tv_points_value"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
hint="@string/remittance_input_amount_from_hint"
|
|
style="@style/2132017891"/>
|
|
<TextView
|
|
gravity="end"
|
|
id="@+id/tv_point_exchange_rate"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
style="@style/2132017664"/>
|
|
</LinearLayout>
|
|
<TextView
|
|
id="@+id/tv_pay_with_account_card"
|
|
visibility="visible"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_marginTop="16dp"
|
|
layout_marginHorizontal="@dimen/2131165433"
|
|
style="@style/2132017849"/>
|
|
<LinearLayout
|
|
orientation="vertical"
|
|
id="@+id/ll_pay_account_amount"
|
|
background="#ffffff"
|
|
padding="16dp"
|
|
visibility="visible"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_marginTop="8dp">
|
|
<TextView
|
|
textColorHint="#c9c6cd"
|
|
gravity="end"
|
|
id="@+id/tv_pay_account_amount"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
hint="@string/transfer_payment_amount_hint"
|
|
style="@style/2132017891"/>
|
|
</LinearLayout>
|
|
<TextView
|
|
gravity="center"
|
|
id="@+id/tv_error_insufficient_balance"
|
|
visibility="gone"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_marginTop="8dp"
|
|
style="@style/2132017667"/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
orientation="vertical"
|
|
id="@+id/ll_error"
|
|
background="#ffffff"
|
|
padding="18dp"
|
|
visibility="gone"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content">
|
|
<TextView
|
|
gravity="center"
|
|
id="@+id/tv_error"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
text="@string/pay_with_full_point_insufficient_error"
|
|
style="@style/2132017849"/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
orientation="vertical"
|
|
id="@+id/ll_payment_method_section"
|
|
visibility="gone"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_marginTop="16dp">
|
|
<TextView
|
|
id="@+id/tv_payment_method_title"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_marginBottom="8dp"
|
|
text="@string/point_payment_method"
|
|
layout_marginStart="16dp"
|
|
style="@style/2132017849"/>
|
|
<LinearLayout
|
|
orientation="horizontal"
|
|
id="@+id/ll_payment_method"
|
|
background="#ffffff"
|
|
visibility="visible"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content">
|
|
<ImageView
|
|
id="@+id/iv_payment_method_logo"
|
|
layout_width="24dp"
|
|
layout_height="24dp"
|
|
layout_marginTop="14dp"
|
|
src="@drawable/logo_scb_new"
|
|
layout_marginStart="16dp"/>
|
|
<LinearLayout
|
|
orientation="vertical"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_marginTop="9dp"
|
|
layout_marginBottom="13dp"
|
|
layout_marginStart="8dp"
|
|
layout_marginEnd="16dp">
|
|
<TextView
|
|
id="@+id/tv_payment_method_name"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
style="@style/2132017876"/>
|
|
<TextView
|
|
id="@+id/tv_payment_method_ref"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
style="@style/2132017664"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
orientation="vertical"
|
|
id="@+id/ll_layout_no_eligible"
|
|
background="#ffffff"
|
|
visibility="gone"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
paddingHorizontal="@dimen/2131165495">
|
|
<TextView
|
|
id="@+id/tv_no_eligible"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_margin="16dp"
|
|
textAlignment="center"
|
|
style="@style/2132017849"/>
|
|
</LinearLayout>
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
id="@+id/cs_account_generic_error"
|
|
background="#ffffff"
|
|
visibility="gone"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content">
|
|
<TextView
|
|
id="@+id/tv_account_error_title"
|
|
layout_width="wrap_content"
|
|
layout_height="wrap_content"
|
|
layout_marginTop="16dp"
|
|
text="@string/error_point_title"
|
|
layout_marginStart="16dp"
|
|
NOT_FOUND_0x1a="0"
|
|
NOT_FOUND_0x1c="0"
|
|
style="@style/2132017849"/>
|
|
<TextView
|
|
layout_width="wrap_content"
|
|
layout_height="wrap_content"
|
|
layout_marginBottom="16dp"
|
|
text="@string/error_point_description"
|
|
NOT_FOUND_0x18="0"
|
|
NOT_FOUND_0x1a="@+id/tv_account_error_title"
|
|
NOT_FOUND_0x1b="@+id/tv_account_error_title"
|
|
style="@style/2132017920"/>
|
|
<ImageView
|
|
id="@+id/iv_reload_account"
|
|
layout_width="24dp"
|
|
layout_height="24dp"
|
|
src="@drawable/ic_reload_empty_item"
|
|
layout_marginEnd="16dp"
|
|
NOT_FOUND_0x18="0"
|
|
NOT_FOUND_0x19="0"
|
|
NOT_FOUND_0x1c="0"/>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
<TextView
|
|
textColor="#7631c1"
|
|
gravity="end"
|
|
id="@+id/tv_change_account"
|
|
background="@android:color/transparent"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_marginTop="16dp"
|
|
text="@string/point_change_payment_method"
|
|
layout_marginEnd="16dp"
|
|
style="@style/2132017664"/>
|
|
<TextView
|
|
id="@+id/tv_payment_method_remark"
|
|
visibility="gone"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_marginTop="8dp"
|
|
layout_marginHorizontal="@dimen/2131165433"
|
|
style="@style/2132017664"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|