|
@@ -2,15 +2,15 @@
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
|
|
+ android:background="@color/white"
|
|
|
android:orientation="vertical">
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
<RelativeLayout
|
|
|
android:id="@+id/dingwei1"
|
|
android:id="@+id/dingwei1"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/content_padding"
|
|
|
|
|
- android:background="@color/backgroud"
|
|
|
|
|
- android:padding="@dimen/content_padding">
|
|
|
|
|
|
|
+ android:layout_margin="@dimen/content_padding_big"
|
|
|
|
|
+ android:background="@color/backgroud">
|
|
|
|
|
|
|
|
<ImageView
|
|
<ImageView
|
|
|
android:id="@+id/img_icon"
|
|
android:id="@+id/img_icon"
|
|
@@ -18,23 +18,22 @@
|
|
|
android:layout_height="50dp"
|
|
android:layout_height="50dp"
|
|
|
android:layout_alignParentStart="true"
|
|
android:layout_alignParentStart="true"
|
|
|
android:layout_centerVertical="true"
|
|
android:layout_centerVertical="true"
|
|
|
|
|
+ android:layout_marginLeft="@dimen/content_padding"
|
|
|
android:src="@drawable/icon" />
|
|
android:src="@drawable/icon" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginBottom="5dp"
|
|
|
|
|
- android:layout_marginLeft="10dp"
|
|
|
|
|
- android:layout_marginTop="5dp"
|
|
|
|
|
|
|
+ android:layout_marginBottom="@dimen/content_padding_small"
|
|
|
|
|
+ android:layout_marginLeft="@dimen/content_padding_small"
|
|
|
|
|
+ android:layout_marginTop="@dimen/content_padding_small"
|
|
|
android:layout_toRightOf="@id/img_icon"
|
|
android:layout_toRightOf="@id/img_icon"
|
|
|
android:orientation="vertical">
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
android:id="@+id/txt_baseactivity_title"
|
|
android:id="@+id/txt_baseactivity_title"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
- android:layout_height="0dp"
|
|
|
|
|
- android:layout_marginLeft="5dp"
|
|
|
|
|
- android:layout_weight="1"
|
|
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
android:gravity="center_vertical"
|
|
android:gravity="center_vertical"
|
|
|
android:text="title"
|
|
android:text="title"
|
|
|
android:textColor="@color/black_text_deep"
|
|
android:textColor="@color/black_text_deep"
|
|
@@ -44,9 +43,8 @@
|
|
|
<TextView
|
|
<TextView
|
|
|
android:id="@+id/tv_count"
|
|
android:id="@+id/tv_count"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
- android:layout_height="0dp"
|
|
|
|
|
- android:layout_marginLeft="5dp"
|
|
|
|
|
- android:layout_weight="1"
|
|
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="@dimen/content_padding_small"
|
|
|
android:gravity="center_vertical"
|
|
android:gravity="center_vertical"
|
|
|
android:text="250/250"
|
|
android:text="250/250"
|
|
|
android:textColor="@color/black_text_gray"
|
|
android:textColor="@color/black_text_gray"
|
|
@@ -55,14 +53,12 @@
|
|
|
<TextView
|
|
<TextView
|
|
|
android:id="@+id/tv_time"
|
|
android:id="@+id/tv_time"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
- android:layout_height="0dp"
|
|
|
|
|
- android:layout_marginLeft="5dp"
|
|
|
|
|
- android:layout_weight="1"
|
|
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="@dimen/content_padding_small"
|
|
|
android:gravity="center_vertical"
|
|
android:gravity="center_vertical"
|
|
|
android:text="截止时间:2018-1-1"
|
|
android:text="截止时间:2018-1-1"
|
|
|
android:textColor="@color/black_text_gray"
|
|
android:textColor="@color/black_text_gray"
|
|
|
android:textSize="@dimen/text_size_2" />
|
|
android:textSize="@dimen/text_size_2" />
|
|
|
-
|
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
@@ -72,6 +68,7 @@
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_alignParentRight="true"
|
|
android:layout_alignParentRight="true"
|
|
|
android:layout_alignTop="@id/img_icon"
|
|
android:layout_alignTop="@id/img_icon"
|
|
|
|
|
+ android:layout_centerVertical="true"
|
|
|
android:layout_marginRight="10dp"
|
|
android:layout_marginRight="10dp"
|
|
|
android:text="5.00"
|
|
android:text="5.00"
|
|
|
android:textColor="@color/orange_text_light"
|
|
android:textColor="@color/orange_text_light"
|
|
@@ -83,6 +80,7 @@
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_alignBottom="@id/tv_money"
|
|
android:layout_alignBottom="@id/tv_money"
|
|
|
|
|
+ android:layout_centerVertical="true"
|
|
|
android:layout_marginBottom="3dp"
|
|
android:layout_marginBottom="3dp"
|
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginLeft="10dp"
|
|
|
android:layout_marginRight="3dp"
|
|
android:layout_marginRight="3dp"
|
|
@@ -96,7 +94,7 @@
|
|
|
android:id="@+id/tv_money"
|
|
android:id="@+id/tv_money"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_alignTop="@id/img_icon"
|
|
|
|
|
|
|
+ android:layout_centerVertical="true"
|
|
|
android:layout_toLeftOf="@id/tv_text1"
|
|
android:layout_toLeftOf="@id/tv_text1"
|
|
|
android:text="5.00"
|
|
android:text="5.00"
|
|
|
android:textColor="@color/orange_text_light"
|
|
android:textColor="@color/orange_text_light"
|
|
@@ -105,15 +103,22 @@
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
+ <ImageView
|
|
|
|
|
+ android:id="@+id/img_task_item_iscomplete"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
|
|
+ android:layout_marginRight="@dimen/content_padding_small"
|
|
|
|
|
+ android:layout_marginTop="@dimen/content_padding_small"
|
|
|
|
|
+ android:src="@drawable/completed" />
|
|
|
|
|
+
|
|
|
<TextView
|
|
<TextView
|
|
|
android:id="@+id/tv_guide"
|
|
android:id="@+id/tv_guide"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_alignBottom="@+id/btn_task_item"
|
|
|
|
|
android:layout_below="@id/dingwei1"
|
|
android:layout_below="@id/dingwei1"
|
|
|
android:layout_marginLeft="@dimen/content_padding"
|
|
android:layout_marginLeft="@dimen/content_padding"
|
|
|
android:layout_marginRight="@dimen/content_padding"
|
|
android:layout_marginRight="@dimen/content_padding"
|
|
|
- android:layout_marginTop="@dimen/content_padding"
|
|
|
|
|
android:gravity="center_vertical"
|
|
android:gravity="center_vertical"
|
|
|
android:text="任务详情 >"
|
|
android:text="任务详情 >"
|
|
|
android:textColor="@color/black_text_gray"
|
|
android:textColor="@color/black_text_gray"
|
|
@@ -125,8 +130,10 @@
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_alignParentRight="true"
|
|
android:layout_alignParentRight="true"
|
|
|
|
|
+ android:layout_alignTop="@id/tv_guide"
|
|
|
android:layout_below="@id/dingwei1"
|
|
android:layout_below="@id/dingwei1"
|
|
|
- android:layout_margin="@dimen/content_padding"
|
|
|
|
|
|
|
+ android:layout_marginBottom="20dp"
|
|
|
|
|
+ android:layout_marginRight="@dimen/content_padding"
|
|
|
android:text="下载游戏" />
|
|
android:text="下载游戏" />
|
|
|
|
|
|
|
|
<View
|
|
<View
|