|
|
@@ -49,8 +49,7 @@
|
|
|
|
|
|
<android.support.constraint.ConstraintLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:clipChildren="false">
|
|
|
+ android:layout_height="wrap_content">
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/task_type_tv"
|
|
|
@@ -60,36 +59,30 @@
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
- <RelativeLayout
|
|
|
- android:id="@+id/icon_layout"
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/item_icon_iv"
|
|
|
android:layout_width="@dimen/view_size_65"
|
|
|
android:layout_height="@dimen/view_size_65"
|
|
|
- android:background="@drawable/sp_bg_transparent_radius_transparent"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent">
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ android:src="@drawable/icon_lj" />
|
|
|
|
|
|
- <ImageView
|
|
|
- android:id="@+id/item_icon_iv"
|
|
|
- android:layout_width="@dimen/view_size_65"
|
|
|
- android:layout_height="@dimen/view_size_65"
|
|
|
- android:layout_alignParentBottom="true"
|
|
|
- android:src="@drawable/icon_lj" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/end_of_time_tv"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignParentBottom="true"
|
|
|
- android:layout_marginBottom="-4dp"
|
|
|
- android:layout_marginEnd="@dimen/content_padding_4"
|
|
|
- android:layout_marginStart="@dimen/content_padding_4"
|
|
|
- android:background="@drawable/shape_ash_stroke_white_solid_rectangle"
|
|
|
- android:gravity="center"
|
|
|
- android:lines="1"
|
|
|
- android:textColor="#989898"
|
|
|
- android:textSize="12sp"
|
|
|
- android:visibility="gone" />
|
|
|
- </RelativeLayout>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/end_of_time_tv"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginEnd="@dimen/content_padding_4"
|
|
|
+ android:layout_marginStart="@dimen/content_padding_4"
|
|
|
+ android:background="@drawable/shape_ash_stroke_white_solid_rectangle"
|
|
|
+ android:gravity="center"
|
|
|
+ android:lines="1"
|
|
|
+ android:textColor="#989898"
|
|
|
+ android:layout_marginTop="55dp"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="@+id/item_icon_iv"
|
|
|
+ app:layout_constraintEnd_toEndOf="@+id/item_icon_iv"
|
|
|
+ android:textSize="12sp"
|
|
|
+ android:visibility="gone"/>
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/item_money"
|
|
|
@@ -98,7 +91,7 @@
|
|
|
android:gravity="center"
|
|
|
android:text=""
|
|
|
android:textColor="@color/txt_red"
|
|
|
- android:textSize="20dp"
|
|
|
+ android:textSize="20sp"
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/item_name_tv"
|
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
|
|
|
|
|
@@ -114,7 +107,7 @@
|
|
|
android:lines="2"
|
|
|
android:text=""
|
|
|
app:layout_constraintRight_toLeftOf="@+id/task_type_tv"
|
|
|
- app:layout_constraintStart_toEndOf="@+id/icon_layout"
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/item_icon_iv"
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
<TextView
|
|
|
@@ -147,9 +140,9 @@
|
|
|
android:layout_marginEnd="@dimen/content_padding_8"
|
|
|
android:layout_marginTop="@dimen/content_padding_2"
|
|
|
android:orientation="horizontal"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/item_icon_iv"
|
|
|
app:layout_constraintEnd_toStartOf="@+id/detail_task_layout"
|
|
|
- app:layout_constraintStart_toEndOf="@+id/icon_layout"
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/item_icon_iv"
|
|
|
app:layout_constraintStart_toStartOf="@+id/item_name_tv"
|
|
|
app:layout_constraintTop_toBottomOf="@+id/item_num_tv">
|
|
|
|
|
|
@@ -177,7 +170,7 @@
|
|
|
android:id="@+id/detail_task_layout"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/item_icon_iv"
|
|
|
app:layout_constraintEnd_toEndOf="parent">
|
|
|
|
|
|
<TextView
|
|
|
@@ -201,7 +194,7 @@
|
|
|
android:layout_centerInParent="true"
|
|
|
android:text="取消任务"
|
|
|
android:visibility="gone"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/item_icon_iv"
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
</android.support.constraint.ConstraintLayout>
|