395 lines
18 KiB
XML
395 lines
18 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:attr="http://schemas.android.com/apk/res-auto"
|
||
|
orientation="vertical"
|
||
|
background="#f5f3f6"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="match_parent">
|
||
|
<include layout="@layout/2131559376"/>
|
||
|
<androidx.core.widget.NestedScrollView
|
||
|
layout_width="match_parent"
|
||
|
layout_height="0dp"
|
||
|
layout_weight="1">
|
||
|
<LinearLayout
|
||
|
orientation="vertical"
|
||
|
focusableInTouchMode="true"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content">
|
||
|
<TextView
|
||
|
id="@+id/content_msg"
|
||
|
background="#ffffff"
|
||
|
padding="16dp"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
text="@string/collateral_feature_header_instruction"
|
||
|
style="@style/2132017674"/>
|
||
|
<LinearLayout
|
||
|
orientation="vertical"
|
||
|
id="@+id/ll_layout_collateral_card"
|
||
|
visibility="gone"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content">
|
||
|
<com.scb.phone.view.custom.easycash.CustomEasyCashSectionLabel
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
NOT_FOUND_0x28="true"
|
||
|
NOT_FOUND_0x29="@string/collateral_card_header"/>
|
||
|
<com.scb.phone.view.custom.easycash.CustomCollateralSelector
|
||
|
id="@+id/collateral_selector"
|
||
|
paddingBottom="16dp"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"/>
|
||
|
</LinearLayout>
|
||
|
<com.scb.phone.view.custom.easycash.CustomEasyCashSectionLabel
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
NOT_FOUND_0x28="true"
|
||
|
NOT_FOUND_0x29="@string/collateral_feature_header_property_details"/>
|
||
|
<LinearLayout
|
||
|
orientation="vertical"
|
||
|
background="#ffffff"
|
||
|
paddingTop="16dp"
|
||
|
paddingBottom="16dp"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content">
|
||
|
<com.scb.phone.view.custom.investment.onboarding.CustomSpinnerWithTitle
|
||
|
id="@+id/custom_spinner_location"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
NOT_FOUND_0x23="@string/collateral_feature_title_collateral_type_hint"
|
||
|
NOT_FOUND_0x24="@string/collateral_feature_title_collateral_type"
|
||
|
layout="@layout/2131559361"/>
|
||
|
<TextView
|
||
|
id="@+id/tv_label_price"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
layout_marginTop="16dp"
|
||
|
text="@string/collateral_feature_title_estimated_price"
|
||
|
layout_marginStart="16dp"
|
||
|
layout_marginEnd="16dp"
|
||
|
style="@style/2132017876"/>
|
||
|
<com.google.android.material.textfield.TextInputLayout
|
||
|
id="@+id/text_error_price_layout"
|
||
|
background="#ffffff"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
layout_marginTop="8dp"
|
||
|
layout_marginStart="16dp"
|
||
|
layout_marginEnd="16dp"
|
||
|
NOT_FOUND_0x25="true"
|
||
|
NOT_FOUND_0x26="@style/2132017858"
|
||
|
NOT_FOUND_0x27="false">
|
||
|
<com.scb.phone.view.custom.common.AmountEditText
|
||
|
gravity="start|center_vertical"
|
||
|
id="@+id/edit_price"
|
||
|
background="@drawable/shape_gray_rounded_rectangle_amount"
|
||
|
focusable="true"
|
||
|
focusableInTouchMode="true"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="40dp"
|
||
|
layout_marginBottom="4dp"
|
||
|
inputType="numberDecimal"
|
||
|
imeOptions="actionDone"
|
||
|
paddingStart="16dp"
|
||
|
paddingEnd="32dp"
|
||
|
style="@style/2132017876"/>
|
||
|
</com.google.android.material.textfield.TextInputLayout>
|
||
|
<TextView
|
||
|
id="@+id/tv_label_location"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
layout_marginTop="16dp"
|
||
|
text="@string/collateral_feature_title_location"
|
||
|
layout_marginStart="16dp"
|
||
|
layout_marginEnd="16dp"
|
||
|
style="@style/2132017876"/>
|
||
|
<RelativeLayout
|
||
|
layout_gravity="left"
|
||
|
id="@+id/layout_location"
|
||
|
background="@drawable/bg_spinner"
|
||
|
padding="5dp"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
layout_marginTop="8dp"
|
||
|
layout_marginStart="16dp"
|
||
|
layout_marginEnd="16dp">
|
||
|
<TextView
|
||
|
gravity="center"
|
||
|
id="@+id/text_location"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
minHeight="40dp"
|
||
|
hint="@string/collateral_feature_title_location_hint"
|
||
|
layout_alignTop="@+id/image_arrow_job"
|
||
|
layout_marginStart="16dp"
|
||
|
layout_toStartOf="@+id/image_arrow_job"
|
||
|
style="@style/2132017876"/>
|
||
|
<ImageView
|
||
|
id="@+id/image_arrow_job"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="wrap_content"
|
||
|
src="@drawable/ic_expand_more_black_24dp"
|
||
|
layout_alignParentRight="true"
|
||
|
layout_centerVertical="true"
|
||
|
contentDescription="@null"
|
||
|
rotation="-90"
|
||
|
layout_marginEnd="8dp"
|
||
|
layout_alignParentEnd="true"/>
|
||
|
</RelativeLayout>
|
||
|
<TextView
|
||
|
id="@+id/label_collateral_ownership"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
layout_marginTop="16dp"
|
||
|
text="@string/collateral_feature_title_collateral_ownership"
|
||
|
layout_marginStart="16dp"
|
||
|
layout_marginEnd="16dp"
|
||
|
style="@style/2132017876"/>
|
||
|
<RadioGroup
|
||
|
orientation="horizontal"
|
||
|
id="@+id/rg_collateral_ownership_option"
|
||
|
paddingTop="8dp"
|
||
|
paddingBottom="8dp"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
paddingStart="16dp"
|
||
|
paddingEnd="16dp">
|
||
|
<RadioButton
|
||
|
layout_gravity="center_vertical"
|
||
|
id="@+id/rdb_myself"
|
||
|
layout_width="0dp"
|
||
|
layout_height="wrap_content"
|
||
|
text="@string/collateral_ownership_myself"
|
||
|
layout_weight="1"
|
||
|
style="@style/2132017876"/>
|
||
|
<RadioButton
|
||
|
layout_gravity="center_vertical"
|
||
|
id="@+id/rdb_family"
|
||
|
layout_width="0dp"
|
||
|
layout_height="wrap_content"
|
||
|
text="@string/collateral_ownership_family"
|
||
|
layout_weight="1"
|
||
|
style="@style/2132017876"/>
|
||
|
</RadioGroup>
|
||
|
<TextView
|
||
|
id="@+id/label_residential_status"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
layout_marginTop="16dp"
|
||
|
text="@string/collateral_feature_title_residential_status"
|
||
|
layout_marginStart="16dp"
|
||
|
layout_marginEnd="16dp"
|
||
|
style="@style/2132017876"/>
|
||
|
<RadioGroup
|
||
|
orientation="horizontal"
|
||
|
id="@+id/rg_residential_status_option"
|
||
|
paddingTop="8dp"
|
||
|
paddingBottom="8dp"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
paddingStart="16dp"
|
||
|
paddingEnd="16dp">
|
||
|
<RadioButton
|
||
|
layout_gravity="center_vertical"
|
||
|
id="@+id/rdb_residential_status_yes"
|
||
|
layout_width="0dp"
|
||
|
layout_height="wrap_content"
|
||
|
text="@string/ntb_yes"
|
||
|
layout_weight="1"
|
||
|
style="@style/2132017876"/>
|
||
|
<RadioButton
|
||
|
layout_gravity="center_vertical"
|
||
|
id="@+id/rdb_residential_status_no"
|
||
|
layout_width="0dp"
|
||
|
layout_height="wrap_content"
|
||
|
text="@string/ntb_no"
|
||
|
layout_weight="1"
|
||
|
style="@style/2132017876"/>
|
||
|
</RadioGroup>
|
||
|
<TextView
|
||
|
id="@+id/label_encumbrance_status"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
layout_marginTop="16dp"
|
||
|
text="@string/collateral_feature_title_encumbrance_status"
|
||
|
layout_marginStart="16dp"
|
||
|
layout_marginEnd="16dp"
|
||
|
style="@style/2132017876"/>
|
||
|
<RadioGroup
|
||
|
orientation="horizontal"
|
||
|
id="@+id/rg_encumbrance_status_option"
|
||
|
paddingTop="8dp"
|
||
|
paddingBottom="8dp"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
paddingStart="16dp"
|
||
|
paddingEnd="16dp">
|
||
|
<RadioButton
|
||
|
layout_gravity="center_vertical"
|
||
|
id="@+id/rdb_encumbrance_status_yes"
|
||
|
layout_width="0dp"
|
||
|
layout_height="wrap_content"
|
||
|
text="@string/ntb_yes"
|
||
|
layout_weight="1"
|
||
|
style="@style/2132017876"/>
|
||
|
<RadioButton
|
||
|
layout_gravity="center_vertical"
|
||
|
id="@+id/rdb_encumbrance_status_no"
|
||
|
layout_width="0dp"
|
||
|
layout_height="wrap_content"
|
||
|
text="@string/ntb_no"
|
||
|
layout_weight="1"
|
||
|
style="@style/2132017876"/>
|
||
|
</RadioGroup>
|
||
|
<LinearLayout
|
||
|
orientation="vertical"
|
||
|
id="@+id/ll_layout_exiting_collateral_status"
|
||
|
visibility="gone"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content">
|
||
|
<TextView
|
||
|
id="@+id/label_exiting_collateral_status"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
layout_marginTop="16dp"
|
||
|
text="@string/collateral_feature_title_exiting_collateral_status"
|
||
|
layout_marginStart="16dp"
|
||
|
layout_marginEnd="16dp"
|
||
|
style="@style/2132017876"/>
|
||
|
<RadioGroup
|
||
|
orientation="horizontal"
|
||
|
id="@+id/rg_exiting_collateral_status_option"
|
||
|
paddingTop="8dp"
|
||
|
paddingBottom="8dp"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
paddingStart="16dp"
|
||
|
paddingEnd="16dp">
|
||
|
<RadioButton
|
||
|
layout_gravity="center_vertical"
|
||
|
id="@+id/rdb_exiting_collateral_status_yes"
|
||
|
layout_width="0dp"
|
||
|
layout_height="wrap_content"
|
||
|
text="@string/bank"
|
||
|
layout_weight="1"
|
||
|
style="@style/2132017876"/>
|
||
|
<RadioButton
|
||
|
layout_gravity="center_vertical"
|
||
|
id="@+id/rdb_exiting_collateral_status_no"
|
||
|
layout_width="0dp"
|
||
|
layout_height="wrap_content"
|
||
|
text="@string/non_bank"
|
||
|
layout_weight="1"
|
||
|
style="@style/2132017876"/>
|
||
|
</RadioGroup>
|
||
|
</LinearLayout>
|
||
|
<com.scb.phone.view.custom.investment.onboarding.CustomSpinnerWithTitle
|
||
|
id="@+id/custom_spinner_obligation_bank"
|
||
|
visibility="gone"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
NOT_FOUND_0x23="@string/collateral_feature_title_collateral_type_hint"
|
||
|
NOT_FOUND_0x24="@string/collateral_feature_title_obligation_bank"
|
||
|
layout="@layout/2131559361"/>
|
||
|
</LinearLayout>
|
||
|
<com.scb.phone.view.custom.easycash.CustomEasyCashSectionLabel
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
NOT_FOUND_0x28="true"
|
||
|
NOT_FOUND_0x29="@string/collateral_feature_header_insurance"/>
|
||
|
<LinearLayout
|
||
|
orientation="vertical"
|
||
|
background="#ffffff"
|
||
|
paddingTop="16dp"
|
||
|
paddingBottom="16dp"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content">
|
||
|
<TextView
|
||
|
id="@+id/label_fire_insurance"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
text="@string/collateral_feature_title_fire_insurance"
|
||
|
layout_marginStart="16dp"
|
||
|
layout_marginEnd="16dp"
|
||
|
style="@style/2132017876"/>
|
||
|
<RadioGroup
|
||
|
orientation="horizontal"
|
||
|
id="@+id/rg_fire_insurance_option"
|
||
|
paddingTop="8dp"
|
||
|
paddingBottom="8dp"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
paddingStart="16dp"
|
||
|
paddingEnd="16dp">
|
||
|
<RadioButton
|
||
|
layout_gravity="center_vertical"
|
||
|
id="@+id/rdb_fire_insurance_yes"
|
||
|
layout_width="0dp"
|
||
|
layout_height="wrap_content"
|
||
|
text="@string/collateral_insurance_yes"
|
||
|
layout_weight="1"
|
||
|
style="@style/2132017876"/>
|
||
|
<RadioButton
|
||
|
layout_gravity="center_vertical"
|
||
|
id="@+id/rdb_fire_insurance_no"
|
||
|
layout_width="0dp"
|
||
|
layout_height="wrap_content"
|
||
|
text="@string/collateral_insurance_no"
|
||
|
layout_weight="1"
|
||
|
style="@style/2132017876"/>
|
||
|
</RadioGroup>
|
||
|
<TextView
|
||
|
id="@+id/tv_label_life_insurance"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
layout_marginTop="16dp"
|
||
|
text="@string/collateral_feature_title_life_insurance"
|
||
|
layout_marginStart="16dp"
|
||
|
layout_marginEnd="16dp"
|
||
|
style="@style/2132017876"/>
|
||
|
<RadioGroup
|
||
|
orientation="horizontal"
|
||
|
id="@+id/rg_life_insurance_option"
|
||
|
paddingTop="8dp"
|
||
|
paddingBottom="8dp"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
paddingStart="16dp"
|
||
|
paddingEnd="16dp">
|
||
|
<RadioButton
|
||
|
layout_gravity="center_vertical"
|
||
|
id="@+id/rdb_life_insurance_yes"
|
||
|
layout_width="0dp"
|
||
|
layout_height="wrap_content"
|
||
|
text="@string/collateral_insurance_yes"
|
||
|
layout_weight="1"
|
||
|
style="@style/2132017876"/>
|
||
|
<RadioButton
|
||
|
layout_gravity="center_vertical"
|
||
|
id="@+id/rdb_life_insurance_no"
|
||
|
layout_width="0dp"
|
||
|
layout_height="wrap_content"
|
||
|
text="@string/collateral_insurance_no"
|
||
|
layout_weight="1"
|
||
|
style="@style/2132017876"/>
|
||
|
</RadioGroup>
|
||
|
</LinearLayout>
|
||
|
</LinearLayout>
|
||
|
</androidx.core.widget.NestedScrollView>
|
||
|
<LinearLayout
|
||
|
orientation="horizontal"
|
||
|
id="@+id/layout_bottom"
|
||
|
padding="8dp"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content">
|
||
|
<Button
|
||
|
enabled="false"
|
||
|
id="@+id/button_calculate"
|
||
|
layout_width="0dp"
|
||
|
layout_height="wrap_content"
|
||
|
layout_margin="8dp"
|
||
|
text="@string/collateral_insurance_calculate"
|
||
|
layout_weight="1"
|
||
|
style="@style/2132017576"/>
|
||
|
</LinearLayout>
|
||
|
</LinearLayout>
|