|
|
@@ -2,6 +2,7 @@
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
android:orientation="vertical"
|
|
|
android:paddingRight="12dp"
|
|
|
android:paddingTop="12dp"
|
|
|
@@ -24,7 +25,7 @@
|
|
|
android:layout_marginBottom="13dp"/>
|
|
|
</LinearLayout>
|
|
|
|
|
|
- <RelativeLayout
|
|
|
+ <android.support.constraint.ConstraintLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content">
|
|
|
<ImageView
|
|
|
@@ -33,35 +34,38 @@
|
|
|
android:layout_height="@dimen/view_size_60"
|
|
|
android:src="@drawable/icon_lj"/>
|
|
|
<TextView
|
|
|
- android:id="@+id/item_anem_tv"
|
|
|
+ android:id="@+id/item_money"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text=""
|
|
|
- android:layout_alignTop="@+id/item_icon_iv"
|
|
|
- android:layout_toEndOf="@+id/item_icon_iv"
|
|
|
- android:layout_marginTop="6dp"
|
|
|
+ android:text="+10元"
|
|
|
+ android:textSize="18dp"
|
|
|
+ android:textColor="@color/txt_red"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/item_anem_tv"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/item_anem_tv"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"/>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/item_anem_tv"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="adefasdddddddddddddddddddddddddddddddddddd"
|
|
|
+ android:lines="2"
|
|
|
+ android:gravity="start|center"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/item_icon_iv"
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/item_money"
|
|
|
android:layout_marginStart="15dp"
|
|
|
- android:layout_above="@+id/item_num_tv"
|
|
|
style="@style/txt_style_15"/>
|
|
|
<TextView
|
|
|
android:id="@+id/item_num_tv"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text=""
|
|
|
- android:layout_below="@+id/item_money"
|
|
|
- android:layout_alignStart="@+id/item_anem_tv"
|
|
|
- android:layout_marginTop="8dp"
|
|
|
+ android:text="asdfasdfasdf"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/item_anem_tv"
|
|
|
+ app:layout_constraintStart_toStartOf="@+id/item_anem_tv"
|
|
|
android:textColor="@color/txt_black_8e8e8e"
|
|
|
+ android:layout_marginBottom="@dimen/content_padding_10"
|
|
|
android:textSize="@dimen/text_size_12"/>
|
|
|
<TextView
|
|
|
- android:id="@+id/item_money"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text=""
|
|
|
- android:textSize="18dp"
|
|
|
- android:textColor="@color/txt_red"
|
|
|
- android:layout_alignParentRight="true"/>
|
|
|
- <TextView
|
|
|
android:id="@+id/detail_task_tv"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
@@ -71,11 +75,11 @@
|
|
|
android:textSize="@dimen/text_size_15"
|
|
|
android:gravity="center"
|
|
|
android:padding="@dimen/content_padding_3"
|
|
|
- android:layout_alignParentRight="true"
|
|
|
- android:layout_below="@+id/item_money"
|
|
|
+ app:layout_constraintBaseline_toBaselineOf="@+id/item_num_tv"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
android:layout_marginTop="@dimen/content_padding_small"
|
|
|
android:background="@drawable/sp_bg_gradient_rectangle_yellow"/>
|
|
|
- </RelativeLayout>
|
|
|
+ </android.support.constraint.ConstraintLayout>
|
|
|
<TextView
|
|
|
android:id="@+id/line_tv"
|
|
|
android:layout_width="match_parent"
|