网友通过本文主要向大家介绍了硅谷商城,硅谷,尚硅谷官网,硅谷亮城写字楼,济南硅谷培训学校等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
硅谷商城第二版5--个人中心模块,硅谷商城第二版5--

fragment_user.xml
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.hankkin.gradationscroll.GradationScrollView
android:id="@+id/sv_person"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<RelativeLayout
android:id="@+id/rl_person_header"
android:layout_width="wrap_content"
android:layout_height="170dp"
android:background="#f00">
<ImageView
android:layout_width="wrap_content"
android:layout_height="170dp"
android:background="@drawable/new_user_icon_background" />
<ImageButton
android:id="@+id/ib_user_avator"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_centerInParent="true"
android:background="@drawable/new_user_icon" />
</RelativeLayout>
<View
android:layout_width="match_parent"
android:layout_height="8dp"
android:background="#eee" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="10dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="我的订单"
android:textColor="#5d5d5d" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:drawableRight="@drawable/home_arrow_right"
android:text="查看全部订单"
android:textColor="#5d5d5d" />
</RelativeLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#eee" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="10dp">
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:orientation="vertical">
<ImageView
android:layout_width="30dp"
android:layout_height="30dp"
android:src="@drawable/new_order_status_fukuan" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:text="待付款"
android:textColor="#5d5d5d" />
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:orientation="vertical">
<ImageView
android:layout_width="30dp"
android:layout_height="30dp"
android:src="@drawable/new_order_status_fahuo" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:text="待发货"
android:textColor="#5d5d5d" />
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:orientation="vertical">
<ImageView
android:layout_width="30dp"
android:layout_height="30dp"
android:src="@drawable/new_order_status_shouhuo" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:text="待收获"
android:textColor="#5d5d5d" />
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:orientation="vertical">
<ImageView
android:layout_width="30dp"
android:layout_height="30dp"
android:src="@drawable/new_order_status_finish" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:text="已完成"
android:textColor="#5d5d5d" />
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:orientation="vertical">
<ImageView
android:layout_width="30dp"
android:layout_height="30dp"
android:src="@drawable/new_order_status_help" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:text="售后/退款"
android:textColor="#5d5d5d" />
</LinearLayout>
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="8dp"
android:background="#eee" />
<TextView
style="@style/TextStyle"
android:drawableLeft="@drawable/user_channel_icon_address"
android:text="收货地址" />
<TextView
style="@style/TextStyle"
android:drawableLeft="@drawable/user_channel_icon_collect"
android:text="我的收藏" />
<View
android:layout_width="match_parent"
android:layout_height="1dp"

