|
|
@@ -1,6 +1,63 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<android.support.constraint.ConstraintLayout
|
|
|
- xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent">
|
|
|
+<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:padding="@dimen/content_padding_big">
|
|
|
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/img_item_wx_account_detail_logo"
|
|
|
+ android:layout_width="70dp"
|
|
|
+ android:layout_height="70dp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/txt_item_wx_account_detail_title"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="@dimen/content_padding"
|
|
|
+ android:text="标题"
|
|
|
+ android:textColor="@color/black_text_deep"
|
|
|
+ android:textSize="@dimen/text_size_4"
|
|
|
+ app:layout_constraintLeft_toRightOf="@id/img_item_wx_account_detail_logo" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/txt_item_wx_account_detail_task"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/content_padding_small"
|
|
|
+ android:text="任务目标:"
|
|
|
+ android:textColor="@color/black_text_gray"
|
|
|
+ android:textSize="@dimen/text_size_2"
|
|
|
+ app:layout_constraintLeft_toLeftOf="@id/txt_item_wx_account_detail_title"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/txt_item_wx_account_detail_title" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/txt_item_wx_account_detail_progress"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/content_padding_small"
|
|
|
+ android:text="已完成60%"
|
|
|
+ android:textColor="@color/black_text_gray"
|
|
|
+ android:textSize="@dimen/text_size_2"
|
|
|
+ android:visibility="gone"
|
|
|
+ app:layout_constraintLeft_toLeftOf="@id/txt_item_wx_account_detail_task"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/txt_item_wx_account_detail_task" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/img_item_wx_account_detail_status"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:src="@drawable/narrow_down"
|
|
|
+ android:visibility="gone"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@id/img_item_wx_account_detail_logo"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="@id/img_item_wx_account_detail_logo" />
|
|
|
+
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1px"
|
|
|
+ android:layout_marginTop="@dimen/content_padding"
|
|
|
+ android:background="@color/divier"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/img_item_wx_account_detail_logo" />
|
|
|
</android.support.constraint.ConstraintLayout>
|