|
|
@@ -1,45 +1,289 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
android:layout_width="match_parent"
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
- android:padding="15dp"
|
|
|
- android:layout_height="match_parent">
|
|
|
-<!--币种-->
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:paddingTop="15dp"
|
|
|
+ android:paddingStart="15dp"
|
|
|
+ android:paddingBottom="15dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ tools:ignore="RtlSymmetry">
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:layout_width="match_parent"
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
- android:id="@+id/id_currency_title"
|
|
|
- style="@style/CostTitleTextStyle"
|
|
|
- android:text="@string/str_currency"
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:text="@string/str_markets"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/id_currency_title"
|
|
|
- app:layout_constraintStart_toEndOf="@+id/id_rate_of_use_title"
|
|
|
- style="@style/CostValueTextStyle"
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
-
|
|
|
-
|
|
|
-<!-- 资金使用率-->
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
- android:id="@+id/id_rate_of_use_title"
|
|
|
- style="@style/CostTitleTextStyle"
|
|
|
- android:text="@string/str_rate_of_use"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:text="@string/str_markets"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/id_rate_of_use_title"
|
|
|
- android:id="@+id/id_rate_of_use"
|
|
|
- android:layout_marginStart="20dp"
|
|
|
- app:layout_constraintStart_toEndOf="@+id/id_rate_of_use_title"
|
|
|
- style="@style/CostValueTextStyle"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
+ android:id="@+id/id_cost_info_list"
|
|
|
+ android:layout_height="match_parent"/>
|
|
|
+<!-- <cn.muchinfo.rma.view.autoWidget.DetailItem-->
|
|
|
+<!-- android:layout_width="match_parent"-->
|
|
|
+<!-- app:layout_constraintTop_toBottomOf="@+id/line9"-->
|
|
|
+<!-- android:id="@+id/dddd"-->
|
|
|
+<!-- app:dt_rightText="asdasd"-->
|
|
|
+<!-- app:dt_leftPadding="88dp"-->
|
|
|
+<!-- android:layout_height="wrap_content"/>-->
|
|
|
+<!--<!–币种–>-->
|
|
|
+<!-- <TextView-->
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
+<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
|
+<!-- android:id="@+id/id_currency_title"-->
|
|
|
+<!-- android:layout_marginTop="15dp"-->
|
|
|
+<!-- style="@style/CostTitleTextStyle"-->
|
|
|
+<!-- android:text="@string/str_currency"-->
|
|
|
+<!-- app:layout_constraintTop_toBottomOf="@+id/dddd"-->
|
|
|
+<!-- android:layout_height="wrap_content"/>-->
|
|
|
+<!-- <TextView-->
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
+<!-- android:text="1000.0"-->
|
|
|
+<!-- android:layout_marginStart="20dp"-->
|
|
|
+<!-- app:layout_constraintTop_toTopOf="@+id/id_currency_title"-->
|
|
|
+<!-- app:layout_constraintStart_toEndOf="@+id/id_rate_of_use_title"-->
|
|
|
+<!-- style="@style/CostValueTextStyle"-->
|
|
|
+<!-- android:layout_height="wrap_content"/>-->
|
|
|
|
|
|
+<!-- <include-->
|
|
|
+<!-- layout="@layout/line_view"-->
|
|
|
+<!-- android:id="@+id/line0"-->
|
|
|
+<!-- android:layout_width="match_parent"-->
|
|
|
+<!-- android:layout_height="0.1dp"-->
|
|
|
+<!-- android:layout_marginTop="15dp"-->
|
|
|
+<!-- app:layout_constraintTop_toBottomOf="@+id/id_currency_title"/>-->
|
|
|
+
|
|
|
+
|
|
|
+<!-- <!–当前权益–>-->
|
|
|
+<!-- <TextView-->
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
+<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
|
+<!-- android:id="@+id/id_current_equity"-->
|
|
|
+<!-- style="@style/CostTitleTextStyle"-->
|
|
|
+<!-- app:layout_constraintTop_toBottomOf="@+id/line0"-->
|
|
|
+<!-- android:layout_marginTop="15dp"-->
|
|
|
+<!-- android:text="@string/str_current_equity"-->
|
|
|
+<!-- android:layout_height="wrap_content"/>-->
|
|
|
+<!-- <TextView-->
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
+<!-- android:text="1000.0"-->
|
|
|
+<!-- android:layout_marginStart="20dp"-->
|
|
|
+<!-- app:layout_constraintTop_toTopOf="@+id/id_current_equity"-->
|
|
|
+<!-- app:layout_constraintStart_toEndOf="@+id/id_rate_of_use_title"-->
|
|
|
+<!-- style="@style/CostValueTextStyle"-->
|
|
|
+<!-- android:layout_height="wrap_content"/>-->
|
|
|
+
|
|
|
+<!-- <include-->
|
|
|
+<!-- layout="@layout/line_view"-->
|
|
|
+<!-- android:id="@+id/line1"-->
|
|
|
+<!-- android:layout_width="match_parent"-->
|
|
|
+<!-- android:layout_height="0.1dp"-->
|
|
|
+<!-- android:layout_marginTop="15dp"-->
|
|
|
+<!-- app:layout_constraintTop_toBottomOf="@+id/id_current_equity"/>-->
|
|
|
+<!--<!–可用金额–>-->
|
|
|
+
|
|
|
+<!-- <TextView-->
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
+<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
|
+<!-- android:id="@+id/id_available_am"-->
|
|
|
+<!-- style="@style/CostTitleTextStyle"-->
|
|
|
+<!-- app:layout_constraintTop_toBottomOf="@+id/line1"-->
|
|
|
+<!-- android:layout_marginTop="15dp"-->
|
|
|
+<!-- android:text="@string/str_available_am"-->
|
|
|
+<!-- android:layout_height="wrap_content"/>-->
|
|
|
+<!-- <TextView-->
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
+<!-- android:text="1000.0"-->
|
|
|
+<!-- android:layout_marginStart="20dp"-->
|
|
|
+<!-- app:layout_constraintTop_toTopOf="@+id/id_available_am"-->
|
|
|
+<!-- app:layout_constraintStart_toEndOf="@+id/id_rate_of_use_title"-->
|
|
|
+<!-- style="@style/CostValueTextStyle"-->
|
|
|
+<!-- android:layout_height="wrap_content"/>-->
|
|
|
+
|
|
|
+<!-- <include-->
|
|
|
+<!-- layout="@layout/line_view"-->
|
|
|
+<!-- android:id="@+id/line2"-->
|
|
|
+<!-- android:layout_width="match_parent"-->
|
|
|
+<!-- android:layout_height="0.1dp"-->
|
|
|
+<!-- android:layout_marginTop="15dp"-->
|
|
|
+<!-- app:layout_constraintTop_toBottomOf="@+id/id_available_am"/>-->
|
|
|
+
|
|
|
+<!-- <!–占用资金–>-->
|
|
|
+<!-- <TextView-->
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
+<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
|
+<!-- android:id="@+id/id_occupation_amount"-->
|
|
|
+<!-- style="@style/CostTitleTextStyle"-->
|
|
|
+<!-- app:layout_constraintTop_toBottomOf="@+id/line2"-->
|
|
|
+<!-- android:layout_marginTop="15dp"-->
|
|
|
+<!-- android:text="@string/str_occupation_amount"-->
|
|
|
+<!-- android:layout_height="wrap_content"/>-->
|
|
|
+<!-- <TextView-->
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
+<!-- android:text="1000.0"-->
|
|
|
+<!-- android:layout_marginStart="20dp"-->
|
|
|
+<!-- app:layout_constraintTop_toTopOf="@+id/id_occupation_amount"-->
|
|
|
+<!-- app:layout_constraintStart_toEndOf="@+id/id_rate_of_use_title"-->
|
|
|
+<!-- style="@style/CostValueTextStyle"-->
|
|
|
+<!-- android:layout_height="wrap_content"/>-->
|
|
|
+<!-- <include-->
|
|
|
+<!-- layout="@layout/line_view"-->
|
|
|
+<!-- android:id="@+id/line3"-->
|
|
|
+<!-- android:layout_width="match_parent"-->
|
|
|
+<!-- android:layout_height="0.1dp"-->
|
|
|
+<!-- android:layout_marginTop="15dp"-->
|
|
|
+<!-- app:layout_constraintTop_toBottomOf="@+id/id_occupation_amount"/>-->
|
|
|
+
|
|
|
+<!-- <!–冻结金额–>-->
|
|
|
+<!-- <TextView-->
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
+<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
|
+<!-- android:id="@+id/id_freezing_of_funds"-->
|
|
|
+<!-- style="@style/CostTitleTextStyle"-->
|
|
|
+<!-- app:layout_constraintTop_toBottomOf="@+id/line3"-->
|
|
|
+<!-- android:layout_marginTop="15dp"-->
|
|
|
+<!-- android:text="@string/str_freezing_of_funds"-->
|
|
|
+<!-- android:layout_height="wrap_content"/>-->
|
|
|
+<!-- <TextView-->
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
+<!-- android:text="1000.0"-->
|
|
|
+<!-- android:layout_marginStart="20dp"-->
|
|
|
+<!-- app:layout_constraintTop_toTopOf="@+id/id_freezing_of_funds"-->
|
|
|
+<!-- app:layout_constraintStart_toEndOf="@+id/id_rate_of_use_title"-->
|
|
|
+<!-- style="@style/CostValueTextStyle"-->
|
|
|
+<!-- android:layout_height="wrap_content"/>-->
|
|
|
+<!-- <include-->
|
|
|
+<!-- layout="@layout/line_view"-->
|
|
|
+<!-- android:id="@+id/line4"-->
|
|
|
+<!-- android:layout_width="match_parent"-->
|
|
|
+<!-- android:layout_height="0.1dp"-->
|
|
|
+<!-- android:layout_marginTop="15dp"-->
|
|
|
+<!-- app:layout_constraintTop_toBottomOf="@+id/id_freezing_of_funds"/>-->
|
|
|
+
|
|
|
+<!-- <!–持仓盈亏–>-->
|
|
|
+<!-- <TextView-->
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
+<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
|
+<!-- android:id="@+id/id_position_profit_loss"-->
|
|
|
+<!-- style="@style/CostTitleTextStyle"-->
|
|
|
+<!-- app:layout_constraintTop_toBottomOf="@+id/line4"-->
|
|
|
+<!-- android:layout_marginTop="15dp"-->
|
|
|
+<!-- android:text="@string/str_position_profit_loss"-->
|
|
|
+<!-- android:layout_height="wrap_content"/>-->
|
|
|
+<!-- <TextView-->
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
+<!-- android:text="1000.0"-->
|
|
|
+<!-- android:layout_marginStart="20dp"-->
|
|
|
+<!-- app:layout_constraintTop_toTopOf="@+id/id_position_profit_loss"-->
|
|
|
+<!-- app:layout_constraintStart_toEndOf="@+id/id_rate_of_use_title"-->
|
|
|
+<!-- style="@style/CostValueTextStyle"-->
|
|
|
+<!-- android:layout_height="wrap_content"/>-->
|
|
|
+<!-- <include-->
|
|
|
+<!-- layout="@layout/line_view"-->
|
|
|
+<!-- android:id="@+id/line5"-->
|
|
|
+<!-- android:layout_width="match_parent"-->
|
|
|
+<!-- android:layout_height="0.1dp"-->
|
|
|
+<!-- android:layout_marginTop="15dp"-->
|
|
|
+<!-- app:layout_constraintTop_toBottomOf="@+id/id_position_profit_loss"/>-->
|
|
|
+
|
|
|
+<!-- <!–平仓盈亏–>-->
|
|
|
+<!-- <TextView-->
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
+<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
|
+<!-- android:id="@+id/id_close_profit_loss"-->
|
|
|
+<!-- style="@style/CostTitleTextStyle"-->
|
|
|
+<!-- app:layout_constraintTop_toBottomOf="@+id/line5"-->
|
|
|
+<!-- android:layout_marginTop="15dp"-->
|
|
|
+<!-- android:text="@string/str_close_profit_loss"-->
|
|
|
+<!-- android:layout_height="wrap_content"/>-->
|
|
|
+<!-- <TextView-->
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
+<!-- android:text="1000.0"-->
|
|
|
+<!-- android:layout_marginStart="20dp"-->
|
|
|
+<!-- app:layout_constraintTop_toTopOf="@+id/id_close_profit_loss"-->
|
|
|
+<!-- app:layout_constraintStart_toEndOf="@+id/id_rate_of_use_title"-->
|
|
|
+<!-- style="@style/CostValueTextStyle"-->
|
|
|
+<!-- android:layout_height="wrap_content"/>-->
|
|
|
+<!-- <include-->
|
|
|
+<!-- layout="@layout/line_view"-->
|
|
|
+<!-- android:id="@+id/line6"-->
|
|
|
+<!-- android:layout_width="match_parent"-->
|
|
|
+<!-- android:layout_height="0.1dp"-->
|
|
|
+<!-- android:layout_marginTop="15dp"-->
|
|
|
+<!-- app:layout_constraintTop_toBottomOf="@+id/id_close_profit_loss"/>-->
|
|
|
+
|
|
|
+<!-- <!–入金–>-->
|
|
|
+<!-- <TextView-->
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
+<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
|
+<!-- android:id="@+id/id_in_am"-->
|
|
|
+<!-- style="@style/CostTitleTextStyle"-->
|
|
|
+<!-- app:layout_constraintTop_toBottomOf="@+id/line6"-->
|
|
|
+<!-- android:layout_marginTop="15dp"-->
|
|
|
+<!-- android:text="@string/str_in_am"-->
|
|
|
+<!-- android:layout_height="wrap_content"/>-->
|
|
|
+<!-- <TextView-->
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
+<!-- android:text="1000.0"-->
|
|
|
+<!-- android:layout_marginStart="20dp"-->
|
|
|
+<!-- app:layout_constraintTop_toTopOf="@+id/id_in_am"-->
|
|
|
+<!-- app:layout_constraintStart_toEndOf="@+id/id_rate_of_use_title"-->
|
|
|
+<!-- style="@style/CostValueTextStyle"-->
|
|
|
+<!-- android:layout_height="wrap_content"/>-->
|
|
|
+<!-- <include-->
|
|
|
+<!-- layout="@layout/line_view"-->
|
|
|
+<!-- android:id="@+id/line7"-->
|
|
|
+<!-- android:layout_width="match_parent"-->
|
|
|
+<!-- android:layout_height="0.1dp"-->
|
|
|
+<!-- android:layout_marginTop="15dp"-->
|
|
|
+<!-- app:layout_constraintTop_toBottomOf="@+id/id_in_am"/>-->
|
|
|
+
|
|
|
+<!-- <!–出金–>-->
|
|
|
+<!-- <TextView-->
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
+<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
|
+<!-- android:id="@+id/id_out_am"-->
|
|
|
+<!-- style="@style/CostTitleTextStyle"-->
|
|
|
+<!-- app:layout_constraintTop_toBottomOf="@+id/line7"-->
|
|
|
+<!-- android:layout_marginTop="15dp"-->
|
|
|
+<!-- android:text="@string/str_in_am"-->
|
|
|
+<!-- android:layout_height="wrap_content"/>-->
|
|
|
+<!-- <TextView-->
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
+<!-- android:text="1000.0"-->
|
|
|
+<!-- android:layout_marginStart="20dp"-->
|
|
|
+<!-- app:layout_constraintTop_toTopOf="@+id/id_out_am"-->
|
|
|
+<!-- app:layout_constraintStart_toEndOf="@+id/id_rate_of_use_title"-->
|
|
|
+<!-- style="@style/CostValueTextStyle"-->
|
|
|
+<!-- android:layout_height="wrap_content"/>-->
|
|
|
+<!-- <include-->
|
|
|
+<!-- layout="@layout/line_view"-->
|
|
|
+<!-- android:id="@+id/line8"-->
|
|
|
+<!-- android:layout_width="match_parent"-->
|
|
|
+<!-- android:layout_height="0.1dp"-->
|
|
|
+<!-- android:layout_marginTop="15dp"-->
|
|
|
+<!-- app:layout_constraintTop_toBottomOf="@+id/id_out_am"/>-->
|
|
|
+
|
|
|
+<!-- <!– 资金使用率–>-->
|
|
|
+<!-- <TextView-->
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
+<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
|
+<!-- android:id="@+id/id_rate_of_use_title"-->
|
|
|
+<!-- style="@style/CostTitleTextStyle"-->
|
|
|
+<!-- android:layout_marginTop="15dp"-->
|
|
|
+<!-- android:text="@string/str_rate_of_use"-->
|
|
|
+<!-- app:layout_constraintTop_toBottomOf="@+id/line8"-->
|
|
|
+<!-- android:layout_height="wrap_content"/>-->
|
|
|
+<!-- <TextView-->
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
+<!-- android:text="1000.0"-->
|
|
|
+<!-- app:layout_constraintTop_toTopOf="@+id/id_rate_of_use_title"-->
|
|
|
+<!-- android:id="@+id/id_rate_of_use"-->
|
|
|
+<!-- android:layout_marginStart="20dp"-->
|
|
|
+<!-- app:layout_constraintStart_toEndOf="@+id/id_rate_of_use_title"-->
|
|
|
+<!-- style="@style/CostValueTextStyle"-->
|
|
|
+<!-- android:layout_height="wrap_content"/>-->
|
|
|
+<!-- <include-->
|
|
|
+<!-- layout="@layout/line_view"-->
|
|
|
+<!-- android:id="@+id/line9"-->
|
|
|
+<!-- android:layout_width="match_parent"-->
|
|
|
+<!-- android:layout_height="0.1dp"-->
|
|
|
+<!-- android:layout_marginTop="15dp"-->
|
|
|
+<!-- app:layout_constraintTop_toBottomOf="@+id/id_rate_of_use_title"/>-->
|
|
|
+<!-- -->
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|