|
|
@@ -0,0 +1,143 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <include
|
|
|
+ layout="@layout/title"/>
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/dingwei1"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="70dp"
|
|
|
+ android:layout_margin="@dimen/content_padding"
|
|
|
+ android:background="@color/backgroud">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/img_icon"
|
|
|
+ android:layout_width="50dp"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:layout_alignParentStart="true"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:layout_marginLeft="@dimen/content_padding"
|
|
|
+ android:src="@drawable/icon"/>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ 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:orientation="vertical">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/txt_baseactivity_title"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:text="title"
|
|
|
+ android:textColor="@color/black_text_deep"
|
|
|
+ android:textSize="@dimen/text_size_4"/>
|
|
|
+
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_count"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/content_padding_small"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:text="250/250"
|
|
|
+ android:textColor="@color/black_text_gray"
|
|
|
+ android:textSize="@dimen/text_size_2"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_time"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/content_padding_small"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:text="截止时间:2018-1-1"
|
|
|
+ android:textColor="@color/black_text_gray"
|
|
|
+ android:textSize="@dimen/text_size_2"/>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_bouns"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
+ android:text="5.00"
|
|
|
+ android:textColor="@color/orange_text_light"
|
|
|
+ android:textSize="@dimen/text_size_5"
|
|
|
+ android:textStyle="bold"
|
|
|
+ />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_text1"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignBottom="@id/tv_money"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:layout_marginBottom="3dp"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:layout_marginRight="3dp"
|
|
|
+ android:layout_toLeftOf="@id/tv_bouns"
|
|
|
+ android:gravity="bottom"
|
|
|
+ android:text="+"
|
|
|
+ android:textColor="@color/orange_text_light"
|
|
|
+ android:textSize="@dimen/text_size_4"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_money"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:layout_toStartOf="@+id/tv_text1"
|
|
|
+ android:text="5.00"
|
|
|
+ android:textColor="@color/orange_text_light"
|
|
|
+ android:textSize="@dimen/text_size_5"
|
|
|
+ android:textStyle="bold"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_alignRight="@id/tv_money"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_above="@id/tv_money"
|
|
|
+ android:text="任务\n奖励"
|
|
|
+ android:textColor="@color/black_text_gray"
|
|
|
+ android:textSize="@dimen/text_size_2"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_alignRight="@id/tv_bouns"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_above="@id/tv_money"
|
|
|
+ android:text="邀请\n奖励"
|
|
|
+ android:textColor="@color/black_text_gray"
|
|
|
+ android:textSize="@dimen/text_size_2"/>
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/btn_task_item"
|
|
|
+ style="@style/style_btn"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="right"
|
|
|
+ android:layout_marginBottom="20dp"
|
|
|
+ android:layout_marginRight="@dimen/content_padding"
|
|
|
+ android:text="下载游戏"/>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/content_padding"
|
|
|
+ android:layout_below="@id/btn_task_item"
|
|
|
+ android:background="@color/background_light_gray"/>
|
|
|
+
|
|
|
+</LinearLayout>
|