Silicon Valley Mall version 2 5-personal center module, Silicon Valley Mall version 2 5 --

Source: Internet
Author: User

Silicon Valley Mall version 2 5-personal center module, Silicon Valley Mall version 2 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 = "My orders" android: textColor = "# 5d5d5d"/> <TextView android: layout_width = "wrap_content" android: layout_height = "wrap_content" android: feature = "true" android: drawableRight = "@ drawable/home_arrow_right" android: text = "view all orders" 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 = "to be paid" 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 = "coming soon" 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 = "coming soon" 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 = "completed" 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 = "after-sales/refund" android: textColor = "# 5d5d5d"/> </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 = "shipping address"/> <TextView style = "@ style/TextStyle" android: drawableLeft = "@ drawable/user_channel_icon_collect" android: text = "My favorites"/> <View android: layout_width = "match_parent" android: layout_height = "1dp" android: layout_marginLeft = "45dp" android: background = "# eee"/> <TextView style = "@ style/TextStyle" android: drawableLeft = "@ drawable/user_icon_ticket" android: text = "my e-tickets"/> <View android: layout_width = "match_parent" android: layout_height = "8dp" android: background = "# eee"/> <TextView style = "@ style/TextStyle" android: drawableLeft = "@ drawable/user_channel_icon_invitation" android: text = "invite to share"/> <View android: layout_width = "match_parent" android: layout_height = "1dp" android: layout_marginLeft = "45dp" android: background = "# eee"/> <TextView style = "@ style/TextStyle" android: drawableLeft = "@ drawable/user_channel_icon_callcenter" android: text = "Customer Service Center"/> <View android: layout_width = "match_parent" android: layout_height = "1dp" android: layout_marginLeft = "45dp" android: background = "# eee"/> <TextView style = "@ style/TextStyle" android: drawableLeft = "@ drawable/user_channel_icon_feedback" android: text = "service feedback"/> <View android: layout_width = "match_parent" android: layout_height = "8dp" android: background = "# eee"/> </LinearLayout> </com. hankkin. gradationscroll. gradationScrollView> <TextView android: id = "@ + id/TV _usercenter" android: layout_width = "match_parent" android: layout_height = "45dp" android: gravity = "center" android: padding = "10dp" android: text = "personal Center" android: textColor = "#0000" android: textSize = "20sp"/> </RelativeLayout>

1. The title header uses GradationTitleBar to implement the gradient effect of the title bar of the imitation QQ space;

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.