|
|
@@ -2,23 +2,27 @@
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:orientation="vertical">
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:weightSum="1">
|
|
|
|
|
|
<include
|
|
|
layout="@layout/title"/>
|
|
|
|
|
|
<RelativeLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="90dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@color/colorPrimary"
|
|
|
>
|
|
|
|
|
|
<de.hdodenhof.circleimageview.CircleImageView
|
|
|
android:id="@+id/img_icon"
|
|
|
android:layout_width="60dp"
|
|
|
android:layout_height="60dp"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:layout_marginLeft="10dp"
|
|
|
- android:src="@drawable/icon"/>
|
|
|
+ android:layout_alignParentTop="true"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_marginTop="@dimen/content_padding_big"
|
|
|
+ android:src="@drawable/icon"
|
|
|
+ />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_nick"
|
|
|
@@ -30,36 +34,29 @@
|
|
|
android:textColor="@color/black_dark"
|
|
|
android:textSize="14sp"/>
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_level"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignBottom="@id/img_icon"
|
|
|
- android:layout_marginLeft="15dp"
|
|
|
- android:layout_toRightOf="@id/img_icon"
|
|
|
- android:textColor="@color/black_light"
|
|
|
- android:textSize="12sp"/>
|
|
|
-
|
|
|
<LinearLayout
|
|
|
+ android:id="@+id/linearLayout"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_alignParentRight="true"
|
|
|
+ android:layout_below="@+id/img_icon"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_marginBottom="@dimen/content_padding"
|
|
|
android:layout_marginRight="15dp"
|
|
|
- android:layout_marginTop="5dp"
|
|
|
- android:orientation="horizontal">
|
|
|
+ android:layout_marginTop="@dimen/content_padding"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="余额:"
|
|
|
- android:textColor="@color/theme"
|
|
|
+ android:text="账户余额"
|
|
|
+ android:textColor="@color/black_text_gray"
|
|
|
android:textSize="12sp"/>
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_money"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:textColor="@color/sheep_red"
|
|
|
+ android:textColor="@color/black_text_deep"
|
|
|
android:textSize="30sp"/>
|
|
|
|
|
|
</LinearLayout>
|
|
|
@@ -67,32 +64,30 @@
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_withdraw"
|
|
|
- android:layout_width="70dp"
|
|
|
- android:layout_height="20dp"
|
|
|
- android:layout_alignParentBottom="true"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
android:layout_alignParentRight="true"
|
|
|
- android:layout_marginBottom="3dp"
|
|
|
- android:layout_marginRight="10dp"
|
|
|
- android:background="@drawable/texe_background_round_red"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:background="@drawable/texe_background_round_theme_right"
|
|
|
android:gravity="center"
|
|
|
+ android:padding="@dimen/content_padding"
|
|
|
android:text="立即提现"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="12sp"/>
|
|
|
+ android:textColor="@color/black_text_gray"
|
|
|
+ android:textSize="@dimen/text_size_3"/>
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_wx_aacount"
|
|
|
- android:layout_width="70dp"
|
|
|
- android:layout_height="20dp"
|
|
|
- android:layout_alignParentBottom="true"
|
|
|
- android:layout_marginBottom="3dp"
|
|
|
- android:layout_marginRight="10dp"
|
|
|
- android:background="@drawable/texe_background_round_red"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignBottom="@+id/linearLayout"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:background="@drawable/texe_background_round_theme_left"
|
|
|
android:gravity="center"
|
|
|
+ android:padding="@dimen/content_padding"
|
|
|
android:text="微信账户"
|
|
|
- android:layout_toLeftOf="@id/tv_withdraw"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="12sp"/>
|
|
|
+ android:textColor="@color/black_text_gray"
|
|
|
+ android:textSize="@dimen/text_size_3"/>
|
|
|
</RelativeLayout>
|
|
|
|
|
|
<include
|
|
|
@@ -112,14 +107,21 @@
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_task"
|
|
|
- android:layout_width="match_parent"
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="50dp"
|
|
|
- android:layout_marginLeft="5dp"
|
|
|
+ android:layout_marginLeft="@dimen/content_padding_small"
|
|
|
+ android:layout_weight="1"
|
|
|
android:gravity="center_vertical"
|
|
|
android:text="任务记录"
|
|
|
android:textColor="@color/black_dark"
|
|
|
android:textSize="14sp"/>
|
|
|
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="20dp"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:layout_marginRight="@dimen/content_padding"
|
|
|
+ android:src="@drawable/narrow_enter"/>
|
|
|
+
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
@@ -127,38 +129,41 @@
|
|
|
layout="@layout/line_h_1px"/>
|
|
|
|
|
|
<LinearLayout
|
|
|
+ android:id="@+id/ll_money_hostroy"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:gravity="center"
|
|
|
android:orientation="horizontal"
|
|
|
- android:id="@+id/ll_money_hostroy"
|
|
|
android:paddingLeft="5dp">
|
|
|
|
|
|
<ImageView
|
|
|
android:layout_width="15dp"
|
|
|
android:layout_height="15dp"
|
|
|
- android:src="@drawable/sell_icon"/>
|
|
|
+ android:src="@drawable/money_record"/>
|
|
|
|
|
|
<TextView
|
|
|
- android:layout_width="match_parent"
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="50dp"
|
|
|
- android:layout_marginLeft="5dp"
|
|
|
+ android:layout_marginLeft="@dimen/content_padding_small"
|
|
|
+ android:layout_weight="1"
|
|
|
android:gravity="center_vertical"
|
|
|
android:text="资金记录"
|
|
|
android:textColor="@color/black_dark"
|
|
|
android:textSize="14sp"/>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
-
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="20dp"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:layout_marginRight="@dimen/content_padding"
|
|
|
+ android:src="@drawable/narrow_enter"/>
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
|
|
|
<include
|
|
|
layout="@layout/line_h_1px"/>
|
|
|
|
|
|
|
|
|
-
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
@@ -169,22 +174,30 @@
|
|
|
<ImageView
|
|
|
android:layout_width="15dp"
|
|
|
android:layout_height="15dp"
|
|
|
- android:src="@drawable/withdraw"/>
|
|
|
+ android:src="@drawable/withdrawal"/>
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_withdraw_hostroy"
|
|
|
- android:layout_width="match_parent"
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="50dp"
|
|
|
- android:layout_marginLeft="5dp"
|
|
|
+ android:layout_marginLeft="@dimen/content_padding_small"
|
|
|
+ android:layout_weight="1"
|
|
|
android:gravity="center_vertical"
|
|
|
android:text="提现记录"
|
|
|
android:textColor="@color/black_dark"
|
|
|
android:textSize="14sp"/>
|
|
|
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="20dp"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:layout_marginRight="@dimen/content_padding"
|
|
|
+ android:src="@drawable/narrow_enter"/>
|
|
|
+
|
|
|
</LinearLayout>
|
|
|
|
|
|
<include
|
|
|
layout="@layout/line_h_1px"/>
|
|
|
+
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
@@ -195,18 +208,18 @@
|
|
|
<ImageView
|
|
|
android:layout_width="15dp"
|
|
|
android:layout_height="15dp"
|
|
|
- android:src="@drawable/withdraw"/>
|
|
|
+ android:src="@drawable/invite_code"/>
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_invitation_code"
|
|
|
- android:layout_width="match_parent"
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="50dp"
|
|
|
- android:layout_marginLeft="5dp"
|
|
|
+ android:layout_marginLeft="@dimen/content_padding_small"
|
|
|
+ android:layout_weight="1"
|
|
|
android:gravity="center_vertical"
|
|
|
android:text="我的邀请码"
|
|
|
android:textColor="@color/black_dark"
|
|
|
android:textSize="14sp"/>
|
|
|
-
|
|
|
</LinearLayout>
|
|
|
|
|
|
<include
|