|
|
@@ -5,15 +5,204 @@
|
|
|
android:orientation="vertical"
|
|
|
android:background="@color/bg_gray">
|
|
|
|
|
|
- <RelativeLayout
|
|
|
+ <ScrollView
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content">
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:scrollbars="none">
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical">
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@mipmap/home_blue_bg"
|
|
|
+ android:padding="@dimen/content_padding_20">
|
|
|
|
|
|
- <de.hdodenhof.circleimageview.CircleImageView
|
|
|
- android:id="@+id/icon_img_iv"
|
|
|
- android:layout_width="@dimen/view_size_60"
|
|
|
- android:layout_height="@dimen/view_size_60" />
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/user_layout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
|
|
|
- </RelativeLayout>
|
|
|
+ <de.hdodenhof.circleimageview.CircleImageView
|
|
|
+ android:id="@+id/icon_img_iv"
|
|
|
+ android:layout_width="@dimen/view_size_45"
|
|
|
+ android:layout_height="@dimen/view_size_45"
|
|
|
+ android:src="@drawable/icon"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/name_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="野蛮托举"
|
|
|
+ android:textSize="@dimen/text_size_12"
|
|
|
+ android:textColor="@color/txt_white"
|
|
|
+ android:layout_toRightOf="@id/icon_img_iv"
|
|
|
+ android:layout_marginLeft="@dimen/content_padding_15"
|
|
|
+ android:layout_marginTop="@dimen/content_padding_small"
|
|
|
+ android:layout_marginBottom="@dimen/content_padding_small"/>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/sheep_num_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="绵阳号:123456789"
|
|
|
+ android:textSize="@dimen/text_size_10"
|
|
|
+ android:textColor="@color/txt_white"
|
|
|
+ android:layout_toRightOf="@id/icon_img_iv"
|
|
|
+ android:layout_below="@+id/name_tv"
|
|
|
+ android:layout_marginLeft="@dimen/content_padding_15"
|
|
|
+ android:layout_marginBottom="@dimen/content_padding_small"/>
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/right_arrow_iv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:src="@mipmap/home_right_arrow"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_centerVertical="true"/>
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/price_layout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@+id/user_layout"
|
|
|
+ android:layout_marginTop="@dimen/content_padding_20">
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/withdrawal"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:minWidth="100dp"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:text="提 现"
|
|
|
+ android:textColor="@color/blue_34a6e7"
|
|
|
+ android:textSize="@dimen/text_size_4"
|
|
|
+ android:background="@drawable/sp_rectangle_bg_white_radius"
|
|
|
+ android:gravity="center"
|
|
|
+ android:padding="5dp"/>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/my_property"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="我的资产"
|
|
|
+ android:textColor="@color/txt_white"
|
|
|
+ android:textSize="@dimen/text_size_12"/>
|
|
|
+ <TextView
|
|
|
+ android:layout_below="@+id/my_property"
|
|
|
+ android:id="@+id/my_price"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="20.00 元"
|
|
|
+ android:textColor="@color/txt_white"
|
|
|
+ android:textSize="@dimen/text_size_25"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ android:layout_marginBottom="12dp"
|
|
|
+ android:layout_toLeftOf="@id/withdrawal"/>
|
|
|
+ <TextView
|
|
|
+ android:layout_below="@+id/my_price"
|
|
|
+ android:id="@+id/my_all_price"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="累计资产 60.00 元"
|
|
|
+ android:textColor="@color/txt_white"
|
|
|
+ android:textSize="@dimen/text_size_12"/>
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/couple_red_packets_iv"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_margin="@dimen/content_padding_10"
|
|
|
+ android:src="@mipmap/couple_red_packets" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:padding="@dimen/content_padding_10">
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/try_play_layout"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:gravity="center">
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:src="@mipmap/home_try_play_bg"/>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="试玩赚钱"/>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/invitation_layout"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:gravity="center">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/imageView2"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:src="@mipmap/home_invitation_bg" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="邀请赚钱"/>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/lying_layout"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:gravity="center">
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:src="@mipmap/home_lying_bg"/>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="躺着赚钱"/>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@drawable/sp_rectangle_bg_white_radius"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:padding="@dimen/content_padding_10"
|
|
|
+ android:layout_margin="@dimen/content_padding_10">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="实时奖励"
|
|
|
+ android:textSize="@dimen/text_size_15"
|
|
|
+ android:textColor="@color/black_191919"/>
|
|
|
+
|
|
|
+ <com.sheep.gamegroup.util.MyListview
|
|
|
+ android:id="@+id/listview"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:scrollbars="none"></com.sheep.gamegroup.util.MyListview>
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
+ </ScrollView>
|
|
|
|
|
|
</LinearLayout>
|