354 lines
16 KiB
XML
354 lines
16 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/investment_details_view"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="match_parent">
|
||
|
<androidx.core.widget.NestedScrollView
|
||
|
id="@+id/investment_detail_scrollview"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="match_parent">
|
||
|
<LinearLayout
|
||
|
orientation="vertical"
|
||
|
background="#f5f3f6"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content">
|
||
|
<LinearLayout
|
||
|
orientation="vertical"
|
||
|
id="@+id/view_group_root"
|
||
|
background="#ffffff"
|
||
|
padding="16dp"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
weightSum="1"
|
||
|
paddingStart="16dp"
|
||
|
paddingEnd="16dp">
|
||
|
<LinearLayout
|
||
|
orientation="horizontal"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
layout_marginBottom="3dp">
|
||
|
<ImageView
|
||
|
layout_gravity="center"
|
||
|
layout_width="13dp"
|
||
|
layout_height="13dp"
|
||
|
src="@drawable/ic_investment_summary"
|
||
|
tint="#959199"
|
||
|
contentDescription="@null"
|
||
|
layout_marginEnd="8dp"/>
|
||
|
<TextView
|
||
|
gravity="start"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
text="@string/account_summary_total_investment"
|
||
|
style="@style/2132017876"/>
|
||
|
</LinearLayout>
|
||
|
<LinearLayout
|
||
|
gravity="end"
|
||
|
orientation="horizontal"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
weightSum="1">
|
||
|
<ImageView
|
||
|
layout_gravity="center_vertical"
|
||
|
id="@+id/iv_investment_details_gain_indicator"
|
||
|
layout_width="12dp"
|
||
|
layout_height="20dp"
|
||
|
adjustViewBounds="true"
|
||
|
layout_weight="0.03"
|
||
|
paddingStart="5dp"
|
||
|
paddingEnd="5dp"/>
|
||
|
<TextView
|
||
|
gravity="end"
|
||
|
id="@+id/tv_investment_details_total_balance"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="wrap_content"
|
||
|
style="@style/2132017888"/>
|
||
|
</LinearLayout>
|
||
|
<LinearLayout
|
||
|
gravity="end"
|
||
|
orientation="horizontal"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content">
|
||
|
<TextView
|
||
|
id="@+id/tv_investment_details_net_gain"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="wrap_content"
|
||
|
layout_marginEnd="5dp"
|
||
|
style="@style/2132017658"/>
|
||
|
<TextView
|
||
|
id="@+id/tv_investment_details_net_gain_percent"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="wrap_content"
|
||
|
style="@style/2132017658"/>
|
||
|
</LinearLayout>
|
||
|
<LinearLayout
|
||
|
orientation="horizontal"
|
||
|
id="@+id/ll_layout_piechart_container"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
weightSum="1">
|
||
|
<View
|
||
|
layout_width="0dp"
|
||
|
layout_height="wrap_content"
|
||
|
layout_weight="0.01"/>
|
||
|
<com.github.mikephil.charting.charts.PieChart
|
||
|
id="@+id/pc_investment_details"
|
||
|
layout_width="0dp"
|
||
|
layout_height="150dp"
|
||
|
layout_weight="0.42"/>
|
||
|
<RelativeLayout
|
||
|
layout_width="0dp"
|
||
|
layout_height="match_parent"
|
||
|
layout_weight="0.57">
|
||
|
<ListView
|
||
|
id="@+id/lv_asset_group"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="wrap_content"
|
||
|
divider="#00000000"
|
||
|
layout_centerInParent="true"
|
||
|
layout_centerVertical="true"/>
|
||
|
</RelativeLayout>
|
||
|
</LinearLayout>
|
||
|
<View
|
||
|
background="#eae7ec"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="1dp"
|
||
|
layout_marginTop="9dp"
|
||
|
layout_marginBottom="7dp"/>
|
||
|
<LinearLayout
|
||
|
orientation="vertical"
|
||
|
id="@+id/ll_layout_investment_details_profile_customer_name"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="match_parent">
|
||
|
<TextView
|
||
|
gravity="start"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
text="@string/investment_name_label"
|
||
|
style="@style/2132017923"/>
|
||
|
<TextView
|
||
|
ellipsize="end"
|
||
|
gravity="start"
|
||
|
id="@+id/tv_profile_customer_name"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
maxLines="1"
|
||
|
style="@style/2132017873"/>
|
||
|
</LinearLayout>
|
||
|
<LinearLayout
|
||
|
orientation="horizontal"
|
||
|
id="@+id/ll_layout_investment_details_profile_require_suit"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="match_parent"
|
||
|
layout_marginTop="8dp">
|
||
|
<TextView
|
||
|
gravity="start"
|
||
|
id="@+id/tv_profile_require_suit_description"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
text="@string/auto_single_form_mf_portfolio_require_suitability_test"
|
||
|
style="@style/2132017923"/>
|
||
|
</LinearLayout>
|
||
|
<LinearLayout
|
||
|
orientation="horizontal"
|
||
|
id="@+id/ll_layout_investment_details_profile_risk"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="match_parent"
|
||
|
layout_marginTop="8dp">
|
||
|
<LinearLayout
|
||
|
orientation="vertical"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="wrap_content"
|
||
|
layout_marginEnd="5dp">
|
||
|
<TextView
|
||
|
gravity="start"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="wrap_content"
|
||
|
text="@string/investment_risk_profile_label"
|
||
|
style="@style/2132017923"/>
|
||
|
<LinearLayout
|
||
|
gravity="start"
|
||
|
orientation="horizontal"
|
||
|
paddingTop="2dp"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="wrap_content"
|
||
|
layout_marginBottom="3dp">
|
||
|
<TextView
|
||
|
id="@+id/tv_profile_risk_level_icon"
|
||
|
background="@drawable/shape_purple_border_rounded_rectangle"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="wrap_content"
|
||
|
layout_marginEnd="8dp"
|
||
|
paddingHorizontal="@dimen/2131165510"
|
||
|
paddingVertical="@dimen/2131165498"
|
||
|
style="@style/2132017962"/>
|
||
|
<TextView
|
||
|
id="@+id/tv_profile_risk_level"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="wrap_content"
|
||
|
style="@style/2132017876"/>
|
||
|
</LinearLayout>
|
||
|
</LinearLayout>
|
||
|
<LinearLayout
|
||
|
orientation="vertical"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content">
|
||
|
<TextView
|
||
|
layout_gravity="end"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="wrap_content"
|
||
|
text="@string/investment_risk_next_review_date"
|
||
|
style="@style/2132017923"/>
|
||
|
<LinearLayout
|
||
|
layout_gravity="end"
|
||
|
orientation="horizontal"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="wrap_content"
|
||
|
layout_marginBottom="3dp">
|
||
|
<TextView
|
||
|
gravity="end"
|
||
|
id="@+id/tv_profile_risk_expiry_date"
|
||
|
paddingTop="2dp"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="wrap_content"
|
||
|
style="@style/2132017876"/>
|
||
|
</LinearLayout>
|
||
|
</LinearLayout>
|
||
|
</LinearLayout>
|
||
|
<LinearLayout
|
||
|
orientation="horizontal"
|
||
|
id="@+id/ll_layout_investment_details_profile_retake_suit"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="match_parent"
|
||
|
layout_marginTop="8dp">
|
||
|
<TextView
|
||
|
gravity="start"
|
||
|
id="@+id/tv_profile_retake_suit_description"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
text="@string/mf_port_suit_toggle_retake_suitability_test_description"
|
||
|
style="@style/2132017916"/>
|
||
|
</LinearLayout>
|
||
|
</LinearLayout>
|
||
|
<com.scb.phone.view.custom.common.CustomFundsActions
|
||
|
gravity="center_horizontal"
|
||
|
id="@+id/cfa_investment_details"
|
||
|
visibility="gone"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
layout_marginTop="8dp"/>
|
||
|
<com.scb.phone.view.custom.investment.CustomNewFundsActions
|
||
|
gravity="center_horizontal"
|
||
|
id="@+id/cfa_new_investment_details"
|
||
|
visibility="gone"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
layout_marginTop="16dp"/>
|
||
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||
|
id="@+id/cs_layout_contextual_ads"
|
||
|
background="#f5f3f6"
|
||
|
visibility="gone"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
layout_marginTop="16dp"
|
||
|
layout_marginBottom="8dp">
|
||
|
<com.scb.phone.view.custom.InfiniteRecyclerView
|
||
|
id="@+id/rv_contextual_ads"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="0dp"
|
||
|
NOT_FOUND_0x22="0"
|
||
|
NOT_FOUND_0x23="2.59:1"
|
||
|
NOT_FOUND_0x24="0"
|
||
|
NOT_FOUND_0x25="0"
|
||
|
NOT_FOUND_0x26="0"
|
||
|
NOT_FOUND_0x27="2"
|
||
|
NOT_FOUND_0x2f="true"
|
||
|
NOT_FOUND_0x30="0"/>
|
||
|
<LinearLayout
|
||
|
gravity="bottom|center_horizontal"
|
||
|
orientation="vertical"
|
||
|
id="@+id/layout_indicator"
|
||
|
background="@drawable/bg_shadow_bottom_gradient"
|
||
|
visibility="gone"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
minHeight="30dp"
|
||
|
layout_alignParentBottom="true"
|
||
|
NOT_FOUND_0x22="0"
|
||
|
NOT_FOUND_0x24="0"
|
||
|
NOT_FOUND_0x25="0">
|
||
|
<com.rd.PageIndicatorView
|
||
|
id="@+id/piv_ads_indicator"
|
||
|
paddingTop="4dp"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="wrap_content"
|
||
|
layout_marginBottom="8dp"
|
||
|
NOT_FOUND_0x28="5"
|
||
|
NOT_FOUND_0x29="false"
|
||
|
NOT_FOUND_0x2a="@dimen/2131165477"
|
||
|
NOT_FOUND_0x2b="@dimen/2131165720"
|
||
|
NOT_FOUND_0x2c="@color/2131100912"
|
||
|
NOT_FOUND_0x2d="@dimen/2131165719"
|
||
|
NOT_FOUND_0x2e="@color/2131100912"/>
|
||
|
</LinearLayout>
|
||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
<fragment
|
||
|
name="com.scb.phone.view.fragment.investment.MyFundsFragment"
|
||
|
id="@+id/fragment_my_funds"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
layout_marginTop="7dp"/>
|
||
|
<LinearLayout
|
||
|
orientation="vertical"
|
||
|
id="@+id/ll_layout_transactions_tab"
|
||
|
visibility="gone"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content">
|
||
|
<com.google.android.material.tabs.TabLayout
|
||
|
id="@+id/tl_investment_details"
|
||
|
background="#f5f3f6"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="56dp"
|
||
|
style="@style/2132017164"/>
|
||
|
<com.scb.phone.view.custom.common.FragmentWrapContentViewPager
|
||
|
id="@+id/vp_investment_details"
|
||
|
background="#ffffff"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"/>
|
||
|
</LinearLayout>
|
||
|
<LinearLayout
|
||
|
orientation="vertical"
|
||
|
id="@+id/ll_layout_transactions_awaiting"
|
||
|
visibility="gone"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content">
|
||
|
<TextView
|
||
|
gravity="start|top"
|
||
|
paddingTop="16dp"
|
||
|
paddingBottom="8dp"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="0dp"
|
||
|
text="@string/scheduled"
|
||
|
layout_weight="1"
|
||
|
textAllCaps="true"
|
||
|
paddingStart="20dp"
|
||
|
paddingEnd="20dp"
|
||
|
style="@style/2132017849"/>
|
||
|
<fragment
|
||
|
name="com.scb.phone.view.fragment.investment.AwaitingTransactionsTabFragment"
|
||
|
id="@+id/fragment_transactions_awaiting"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"/>
|
||
|
</LinearLayout>
|
||
|
<TextView
|
||
|
gravity="center"
|
||
|
paddingBottom="24dp"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
text="@string/investment_remark_today_awaiting"
|
||
|
style="@style/2132017866"/>
|
||
|
</LinearLayout>
|
||
|
</androidx.core.widget.NestedScrollView>
|
||
|
</LinearLayout>
|