|
|
@@ -1,8 +1,7 @@
|
|
|
<?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"
|
|
|
- xmlns:tools="http://schemas.android.com/tools"
|
|
|
- android:layout_width="match_parent"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:background="@color/white"
|
|
|
android:orientation="vertical">
|
|
|
@@ -33,7 +32,7 @@
|
|
|
android:text="1218"
|
|
|
android:textColor="@color/orange_text_light"
|
|
|
android:textSize="@dimen/text_size_3"
|
|
|
- app:layout_constraintLeft_toRightOf="@+id/txt_fgt_main_page_task_income"
|
|
|
+ app:layout_constraintLeft_toRightOf="@id/txt_fgt_main_page_task_income"
|
|
|
app:layout_constraintRight_toLeftOf="@+id/txt_fgt_main_page_task_remain"
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
@@ -45,7 +44,8 @@
|
|
|
android:text="128"
|
|
|
android:textColor="@color/orange_text_light"
|
|
|
android:textSize="@dimen/text_size_3"
|
|
|
- app:layout_constraintLeft_toRightOf="@+id/txt_fgt_main_page_task_succ"
|
|
|
+ android:visibility="gone"
|
|
|
+ app:layout_constraintLeft_toRightOf="@id/txt_fgt_main_page_task_succ"
|
|
|
app:layout_constraintRight_toLeftOf="@+id/txt_fgt_main_page_task_history"
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
@@ -57,7 +57,7 @@
|
|
|
android:text="128"
|
|
|
android:textColor="@color/orange_text_light"
|
|
|
android:textSize="@dimen/text_size_3"
|
|
|
- app:layout_constraintLeft_toRightOf="@+id/txt_fgt_main_page_task_remain"
|
|
|
+ app:layout_constraintLeft_toRightOf="@id/txt_fgt_main_page_task_remain"
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
@@ -69,9 +69,9 @@
|
|
|
android:text="今日收入"
|
|
|
android:textColor="@color/black_text_gray"
|
|
|
android:textSize="@dimen/text_size_2"
|
|
|
- app:layout_constraintLeft_toLeftOf="@+id/txt_fgt_main_page_task_income"
|
|
|
- app:layout_constraintRight_toRightOf="@+id/txt_fgt_main_page_task_income"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/txt_fgt_main_page_task_income" />
|
|
|
+ app:layout_constraintLeft_toLeftOf="@id/txt_fgt_main_page_task_income"
|
|
|
+ app:layout_constraintRight_toRightOf="@id/txt_fgt_main_page_task_income"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/txt_fgt_main_page_task_income" />
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
@@ -80,9 +80,9 @@
|
|
|
android:text="今日完成"
|
|
|
android:textColor="@color/black_text_gray"
|
|
|
android:textSize="@dimen/text_size_2"
|
|
|
- app:layout_constraintLeft_toLeftOf="@+id/txt_fgt_main_page_task_succ"
|
|
|
- app:layout_constraintRight_toRightOf="@+id/txt_fgt_main_page_task_succ"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/txt_fgt_main_page_task_income" />
|
|
|
+ app:layout_constraintLeft_toLeftOf="@id/txt_fgt_main_page_task_succ"
|
|
|
+ app:layout_constraintRight_toRightOf="@id/txt_fgt_main_page_task_succ"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/txt_fgt_main_page_task_income" />
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
@@ -91,9 +91,10 @@
|
|
|
android:text="剩余次数"
|
|
|
android:textColor="@color/black_text_gray"
|
|
|
android:textSize="@dimen/text_size_2"
|
|
|
- app:layout_constraintLeft_toLeftOf="@+id/txt_fgt_main_page_task_remain"
|
|
|
- app:layout_constraintRight_toRightOf="@+id/txt_fgt_main_page_task_remain"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/txt_fgt_main_page_task_income" />
|
|
|
+ android:visibility="gone"
|
|
|
+ app:layout_constraintLeft_toLeftOf="@id/txt_fgt_main_page_task_remain"
|
|
|
+ app:layout_constraintRight_toRightOf="@id/txt_fgt_main_page_task_remain"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/txt_fgt_main_page_task_income" />
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
@@ -102,21 +103,22 @@
|
|
|
android:text="任务记录"
|
|
|
android:textColor="@color/black_text_gray"
|
|
|
android:textSize="@dimen/text_size_2"
|
|
|
- app:layout_constraintLeft_toLeftOf="@+id/txt_fgt_main_page_task_history"
|
|
|
- app:layout_constraintRight_toRightOf="@+id/txt_fgt_main_page_task_history"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/txt_fgt_main_page_task_income" />
|
|
|
+ app:layout_constraintLeft_toLeftOf="@id/txt_fgt_main_page_task_history"
|
|
|
+ app:layout_constraintRight_toRightOf="@id/txt_fgt_main_page_task_history"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/txt_fgt_main_page_task_income" />
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:layout_width="8dp"
|
|
|
- android:layout_height="0dp"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/layout_heigh_default"
|
|
|
+ android:gravity="center_vertical"
|
|
|
android:orientation="horizontal"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- tools:layout_editor_absoluteX="8dp">
|
|
|
+ app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
|
- <Space
|
|
|
+ <View
|
|
|
+ android:id="@+id/view_income_today"
|
|
|
android:layout_width="0dp"
|
|
|
- android:layout_height="1px"
|
|
|
+ android:layout_height="match_parent"
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
<View
|
|
|
@@ -124,19 +126,21 @@
|
|
|
android:layout_height="25dp"
|
|
|
android:background="@color/sheep_red" />
|
|
|
|
|
|
- <Space
|
|
|
+ <View
|
|
|
android:layout_width="0dp"
|
|
|
- android:layout_height="1px"
|
|
|
- android:layout_weight="1" />
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:visibility="gone" />
|
|
|
|
|
|
<View
|
|
|
android:layout_width="1px"
|
|
|
android:layout_height="25dp"
|
|
|
android:background="@color/sheep_red" />
|
|
|
|
|
|
- <Space
|
|
|
+ <View
|
|
|
+ android:id="@+id/view_complete_today"
|
|
|
android:layout_width="0dp"
|
|
|
- android:layout_height="1px"
|
|
|
+ android:layout_height="match_parent"
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
<View
|
|
|
@@ -144,9 +148,10 @@
|
|
|
android:layout_height="25dp"
|
|
|
android:background="@color/sheep_red" />
|
|
|
|
|
|
- <Space
|
|
|
+ <View
|
|
|
+ android:id="@+id/view_history_record"
|
|
|
android:layout_width="0dp"
|
|
|
- android:layout_height="1px"
|
|
|
+ android:layout_height="match_parent"
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
</LinearLayout>
|