<?xml version="1.0" encoding="utf-8"?>
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="@dimen/user_center_detail_width"
|
android:layout_height="match_parent"
|
android:orientation="vertical"
|
android:background="@color/user_center_content_bg">
|
|
<!-- 我的 -->
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/user_center_head_item_height">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerInParent="true"
|
android:textColor="@color/user_center_textcolor_normal"
|
android:text="@string/mr_user_center_mine"
|
android:textSize="@dimen/user_center_title"/>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="2px"
|
android:layout_alignParentBottom="true"
|
android:background="@color/user_center_mine_divide_line"/>
|
|
<RelativeLayout
|
android:id="@+id/user_center_close"
|
android:layout_width="30dp"
|
android:layout_height="30dp"
|
android:layout_alignParentRight="true"
|
android:layout_centerVertical="true">
|
<ImageView
|
android:layout_width="15dp"
|
android:layout_height="15dp"
|
android:layout_alignParentRight="true"
|
android:layout_centerVertical="true"
|
android:layout_marginRight="10dp"
|
android:background="@drawable/mr_common_header_close" />
|
</RelativeLayout>
|
|
|
</RelativeLayout>
|
|
<ScrollView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical">
|
|
<!-- 用户账号 -->
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/user_center_item_height">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:layout_alignParentLeft="true"
|
android:layout_marginLeft="5dp"
|
android:textSize="@dimen/user_center_item_title"
|
android:textColor="@color/user_center_textcolor_normal"
|
android:text="@string/mr_user_center_account" />
|
|
<TextView
|
android:id="@+id/user_center_username"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignParentRight="true"
|
android:layout_centerVertical="true"
|
android:layout_marginRight="10dp"
|
android:textColor="@color/user_center_textcolor_grey"
|
android:textSize="@dimen/user_center_item_content" />
|
|
</RelativeLayout>
|
|
<!-- 用户ID -->
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/user_center_item_height">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:layout_alignParentLeft="true"
|
android:layout_marginLeft="5dp"
|
android:textSize="@dimen/user_center_item_title"
|
android:textColor="@color/user_center_textcolor_normal"
|
android:text="@string/mr_user_center_id"/>
|
|
<TextView
|
android:id="@+id/user_center_userId"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignParentRight="true"
|
android:layout_centerVertical="true"
|
android:layout_marginRight="10dp"
|
android:textSize="@dimen/user_center_item_content"
|
android:textColor="@color/user_center_textcolor_grey"/>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1px"
|
android:layout_marginLeft="5dp"
|
android:layout_marginRight="5dp"
|
android:layout_alignParentBottom="true"
|
android:background="@color/user_center_mine_divide_line"/>
|
|
</RelativeLayout>
|
|
<!-- 修改密码 -->
|
<RelativeLayout
|
android:id="@+id/user_center_modify_password_item"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/user_center_item_height"
|
android:background="@drawable/mr_user_center_mine_item">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:layout_alignParentLeft="true"
|
android:layout_marginLeft="5dp"
|
android:textSize="@dimen/user_center_item_title"
|
android:textColor="@color/user_center_textcolor_normal"
|
android:text="@string/mr_user_center_modify_password"/>
|
|
<ImageView
|
android:id="@+id/user_center_modify_password_tv"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:layout_alignParentRight="true"
|
android:layout_marginRight="5dp"
|
android:src="@drawable/mr_right_icon"/>
|
|
</RelativeLayout>
|
|
<!-- 账号安全方式 -->
|
<RelativeLayout
|
android:id="@+id/user_center_account_safe_item"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/user_center_item_height"
|
android:background="@drawable/mr_user_center_mine_item">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignParentLeft="true"
|
android:layout_centerVertical="true"
|
android:layout_marginLeft="5dp"
|
android:text="@string/mr_user_center_bind"
|
android:textColor="@color/user_center_textcolor_normal"
|
android:textSize="@dimen/user_center_item_title" />
|
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignParentRight="true"
|
android:layout_centerVertical="true"
|
android:layout_marginRight="5dp"
|
android:src="@drawable/mr_right_icon" />
|
|
</RelativeLayout>
|
|
<!-- 实名认证 -->
|
<RelativeLayout
|
android:id="@+id/user_center_real_name_item"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/user_center_item_height"
|
android:background="@drawable/mr_user_center_mine_item">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignParentLeft="true"
|
android:layout_centerVertical="true"
|
android:layout_marginLeft="5dp"
|
android:text="@string/mr_real_name_authentication"
|
android:textColor="@color/user_center_textcolor_normal"
|
android:textSize="@dimen/user_center_item_title" />
|
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignParentRight="true"
|
android:layout_centerVertical="true"
|
android:layout_marginRight="5dp"
|
android:src="@drawable/mr_right_icon" />
|
|
</RelativeLayout>
|
|
<!--<!– 联系客服 –>-->
|
<!--<RelativeLayout-->
|
<!--android:id="@+id/user_center_contact_us_item"-->
|
<!--android:layout_width="match_parent"-->
|
<!--android:layout_height="@dimen/user_center_item_height"-->
|
<!--android:background="@drawable/mr_user_center_mine_item">-->
|
|
<!--<TextView-->
|
<!--android:layout_width="wrap_content"-->
|
<!--android:layout_height="wrap_content"-->
|
<!--android:layout_alignParentLeft="true"-->
|
<!--android:layout_centerVertical="true"-->
|
<!--android:layout_marginLeft="5dp"-->
|
<!--android:text="@string/mr_user_center_contact_us"-->
|
<!--android:textColor="@color/user_center_textcolor_normal"-->
|
<!--android:textSize="@dimen/user_center_item_title" />-->
|
|
<!--<ImageView-->
|
<!--android:layout_width="wrap_content"-->
|
<!--android:layout_height="wrap_content"-->
|
<!--android:layout_alignParentRight="true"-->
|
<!--android:layout_centerVertical="true"-->
|
<!--android:layout_marginRight="5dp"-->
|
<!--android:src="@drawable/mr_right_icon" />-->
|
|
<!--</RelativeLayout>-->
|
|
<!-- 礼包领取 -->
|
<RelativeLayout
|
android:id="@+id/user_center_gift_item"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/user_center_item_height"
|
android:background="@drawable/mr_user_center_mine_item">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignParentLeft="true"
|
android:layout_centerVertical="true"
|
android:layout_marginLeft="5dp"
|
android:text="@string/mr_user_center_gift"
|
android:textColor="@color/user_center_textcolor_normal"
|
android:textSize="@dimen/user_center_item_title" />
|
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignParentRight="true"
|
android:layout_centerVertical="true"
|
android:layout_marginRight="5dp"
|
android:src="@drawable/mr_right_icon" />
|
|
</RelativeLayout>
|
|
<!-- 账号注销 -->
|
<RelativeLayout
|
android:id="@+id/user_center_logout_item"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/user_center_item_height"
|
android:background="@drawable/mr_user_center_mine_item">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignParentLeft="true"
|
android:layout_centerVertical="true"
|
android:layout_marginLeft="5dp"
|
android:text="@string/mr_user_center_logout"
|
android:textColor="@color/user_center_textcolor_normal"
|
android:textSize="@dimen/user_center_item_title" />
|
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignParentRight="true"
|
android:layout_centerVertical="true"
|
android:layout_marginRight="5dp"
|
android:src="@drawable/mr_right_icon" />
|
|
</RelativeLayout>
|
|
<!-- 版本号 -->
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/user_center_item_height">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:layout_alignParentLeft="true"
|
android:layout_marginLeft="5dp"
|
android:textSize="@dimen/user_center_item_title"
|
android:textColor="@color/user_center_textcolor_normal"
|
android:text="@string/mr_user_center_version"/>
|
|
<TextView
|
android:id="@+id/user_center_versionCode"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignParentRight="true"
|
android:layout_centerVertical="true"
|
android:layout_marginRight="10dp"
|
android:textColor="@color/user_center_textcolor_grey"
|
android:textSize="@dimen/user_center_item_content" />
|
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
|
</LinearLayout>
|