|
|
@@ -0,0 +1,401 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ android:orientation="vertical" android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent">
|
|
|
+
|
|
|
+
|
|
|
+ <include layout="@layout/title"></include>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="70dp"
|
|
|
+ android:background="@color/colorPrimary"
|
|
|
+ android:orientation="vertical"
|
|
|
+
|
|
|
+ >
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_margin="20dp"
|
|
|
+ >
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ >
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="1.邀请好友"
|
|
|
+ android:textColor="@color/black_dark"
|
|
|
+ android:textSize="15sp"
|
|
|
+ android:gravity="center"
|
|
|
+ />
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="2.好友做任务"
|
|
|
+ android:textColor="@color/black_dark"
|
|
|
+ android:textSize="15sp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="3.拿我奖励"
|
|
|
+ android:textSize="15sp"
|
|
|
+ android:textColor="@color/black_dark"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ />
|
|
|
+ </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1px"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:background="@color/black_dark"
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
+ android:layout_marginRight="5dp"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+
|
|
|
+ >
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:text="."
|
|
|
+ android:textColor="@color/black_dark"
|
|
|
+ android:textSize="20sp"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ />
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:textColor="@color/black_dark"
|
|
|
+ android:textSize="20sp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:text="."
|
|
|
+ android:textColor="@color/black_dark"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+</LinearLayout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical"
|
|
|
+
|
|
|
+ >
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="40dp"
|
|
|
+ android:background="@color/colorPrimary"
|
|
|
+
|
|
|
+ ></View>
|
|
|
+
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_marginLeft="18dp"
|
|
|
+ android:layout_marginRight="18dp"
|
|
|
+ android:id="@+id/content"
|
|
|
+ android:layout_alignParentTop="true"
|
|
|
+ >
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:background="@drawable/icon_jl"
|
|
|
+ android:padding="20dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:layout_marginRight="5dp"
|
|
|
+ >
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_reward_size"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="256"
|
|
|
+ android:textColor="@color/sheep_red"
|
|
|
+ android:textSize="25sp"
|
|
|
+ android:layout_gravity="center"
|
|
|
+
|
|
|
+ />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="奖励"
|
|
|
+ android:textSize="12sp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:textColor="@color/black_light"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ />
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:background="@drawable/icon_hy"
|
|
|
+ android:padding="20dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
+ >
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="256"
|
|
|
+ android:textColor="@color/sheep_red"
|
|
|
+ android:textSize="25sp"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:id="@+id/tv_friend_size"
|
|
|
+ />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="好友"
|
|
|
+ android:textSize="12sp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:textColor="@color/black_light"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ />
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_below="@id/content"
|
|
|
+ >
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:text="*好友首次完成后,我获得额外随机奖励"
|
|
|
+ android:layout_marginLeft="25dp"
|
|
|
+ android:layout_marginRight="20dp"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:textSize="12sp"
|
|
|
+ />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_marginLeft="25dp"
|
|
|
+ android:layout_marginRight="20dp"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ >
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:text="*好友完成任务后,我获得"
|
|
|
+ android:textSize="12sp"
|
|
|
+ />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_proportion_size"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:text="20%"
|
|
|
+ android:textSize="12sp"
|
|
|
+ android:textColor="@color/sheep_red"
|
|
|
+ />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:text="提成奖励"
|
|
|
+ android:textSize="12sp"
|
|
|
+ />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+</LinearLayout>
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ >
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="好友邀请"
|
|
|
+ android:textSize="16sp"
|
|
|
+ android:drawablePadding="10dp"
|
|
|
+ android:textColor="@color/black_dark"
|
|
|
+ android:drawableLeft="@drawable/icon_yq"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:layout_margin="12dp"
|
|
|
+ />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1px"
|
|
|
+ android:background="@color/black_light"
|
|
|
+ />
|
|
|
+
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="80dp"
|
|
|
+ android:id="@+id/rl_emw"
|
|
|
+ >
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:src="@drawable/icon_ewm"
|
|
|
+ android:id="@+id/ic_emw"
|
|
|
+ android:layout_alignParentLeft="true"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:layout_marginLeft="20dp"
|
|
|
+ />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_ask"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="二维码邀请"
|
|
|
+ android:textSize="16sp"
|
|
|
+ android:textColor="@color/black_light"
|
|
|
+ android:layout_toRightOf="@id/ic_emw"
|
|
|
+ android:layout_marginLeft="12dp"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="特别适合当面邀请,简单明了"
|
|
|
+ android:textSize="12sp"
|
|
|
+ android:textColor="@color/black_light"
|
|
|
+ android:layout_below="@id/tv_ask"
|
|
|
+ android:layout_toRightOf="@id/ic_emw"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:layout_marginLeft="12dp"
|
|
|
+
|
|
|
+ />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:src="@drawable/icon_jiantou3"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:layout_marginRight="15dp"
|
|
|
+
|
|
|
+ />
|
|
|
+
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1px"
|
|
|
+ android:background="@color/line"
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
+ android:layout_marginRight="15dp"
|
|
|
+ />
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="80dp"
|
|
|
+ android:id="@+id/rl_link"
|
|
|
+
|
|
|
+ >
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:src="@drawable/icon_ewm"
|
|
|
+ android:id="@+id/ic_lj"
|
|
|
+ android:layout_alignParentLeft="true"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:layout_marginLeft="20dp"
|
|
|
+ />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_link"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="链接邀请"
|
|
|
+ android:textSize="16sp"
|
|
|
+ android:textColor="@color/black_light"
|
|
|
+ android:layout_toRightOf="@id/ic_lj"
|
|
|
+ android:layout_marginLeft="12dp"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="最经典最万能,哪里都能发"
|
|
|
+ android:textSize="12sp"
|
|
|
+ android:textColor="@color/black_light"
|
|
|
+ android:layout_below="@id/tv_link"
|
|
|
+ android:layout_toRightOf="@id/ic_lj"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:layout_marginLeft="12dp"
|
|
|
+
|
|
|
+ />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:src="@drawable/icon_jiantou3"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:layout_marginRight="15dp"
|
|
|
+
|
|
|
+ />
|
|
|
+
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+</LinearLayout>
|