<?xml version="1.0" encoding="utf-8"?>
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:id="@+id/user_center_layout_parent"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:background="#00000000"
|
android:gravity="center"
|
android:orientation="vertical" >
|
|
<RelativeLayout
|
android:layout_width="300dp"
|
android:layout_height="wrap_content" >
|
|
<LinearLayout
|
android:layout_width="280dp"
|
android:layout_height="wrap_content"
|
android:layout_margin="15dp"
|
android:background="@drawable/com_xy_login_white_bg"
|
android:orientation="vertical" >
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:background="@drawable/mg_user_center_top_bg"
|
android:gravity="center_vertical"
|
android:orientation="horizontal"
|
android:paddingBottom="20dp"
|
android:paddingTop="20dp" >
|
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="20dp"
|
android:src="@drawable/mg_user_center_head" />
|
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="10dp"
|
android:orientation="vertical" >
|
|
<RelativeLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content" >
|
|
<LinearLayout
|
android:id="@+id/nick_name_ll"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center"
|
android:orientation="horizontal"
|
android:visibility="visible" >
|
|
<TextView
|
android:id="@+id/mg_user_nick_name_tv"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:paddingBottom="3dp"
|
android:paddingTop="3dp"
|
android:text="未设置昵称"
|
android:textColor="#000000"
|
android:textSize="14sp" />
|
|
<ImageView
|
android:id="@+id/edit_nick_iv"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:src="@drawable/mg_edit_user_name" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/input_name_ll"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center"
|
android:orientation="horizontal"
|
android:visibility="gone" >
|
|
<EditText
|
android:id="@+id/edit_nick_name_et"
|
android:layout_width="100dp"
|
android:layout_height="wrap_content"
|
android:background="@drawable/mg_new_login_input_bg"
|
android:inputType="text"
|
android:maxLines="1"
|
android:padding="3dp"
|
android:textSize="14sp" />
|
|
<TextView
|
android:id="@+id/confirm_nick_name_tv"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="5dp"
|
android:background="#ff8f17"
|
android:paddingLeft="5dp"
|
android:paddingRight="5dp"
|
android:text="确定"
|
android:textColor="@color/white"
|
android:textSize="14sp" />
|
</LinearLayout>
|
</RelativeLayout>
|
|
<TextView
|
android:id="@+id/mg_user_account_tv"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="5dp"
|
android:textColor="#646464"
|
android:textSize="12sp" />
|
</LinearLayout>
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal" >
|
|
<LinearLayout
|
android:id="@+id/account_security_ll"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:gravity="center"
|
android:orientation="vertical"
|
android:paddingBottom="10dp"
|
android:paddingTop="10dp" >
|
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:src="@drawable/mg_account_secrity" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="5dp"
|
android:text="账号安全"
|
android:textColor="#929292"
|
android:textSize="12sp" />
|
</LinearLayout>
|
|
<View
|
android:layout_width="1dp"
|
android:layout_height="match_parent"
|
android:background="#f5f5f5" />
|
|
<LinearLayout
|
android:id="@+id/more_welfare_ll"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:gravity="center"
|
android:orientation="vertical"
|
android:paddingBottom="10dp"
|
android:paddingTop="10dp" >
|
|
<ImageView
|
android:id="@+id/mg_user_bind_phone"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:background="@drawable/mg_more_welfare" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="5dp"
|
android:text="更多福利"
|
android:textColor="#929292"
|
android:textSize="12sp" />
|
</LinearLayout>
|
|
<View
|
android:layout_width="1dp"
|
android:layout_height="match_parent"
|
android:background="#f5f5f5" />
|
|
<LinearLayout
|
android:id="@+id/user_custom_ll"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:gravity="center"
|
android:orientation="vertical"
|
android:paddingBottom="10dp"
|
android:paddingTop="10dp" >
|
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:src="@drawable/mg_user_custom" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="5dp"
|
android:text="联系客服"
|
android:textColor="#929292"
|
android:textSize="12sp" />
|
</LinearLayout>
|
</LinearLayout>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1dp"
|
android:background="#f5f5f5" />
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal" >
|
|
<LinearLayout
|
android:id="@+id/user_form_ll"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:gravity="center"
|
android:orientation="vertical"
|
android:paddingBottom="10dp"
|
android:paddingTop="10dp" >
|
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:src="@drawable/mg_user_forum" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="5dp"
|
android:text="论坛"
|
android:textColor="#929292"
|
android:textSize="12sp" />
|
</LinearLayout>
|
|
|
<View
|
android:layout_width="1dp"
|
android:layout_height="match_parent"
|
android:background="#f5f5f5" />
|
|
<LinearLayout
|
android:id="@+id/hide_float_ll"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:gravity="center"
|
android:orientation="vertical"
|
android:paddingBottom="10dp"
|
android:paddingTop="10dp" >
|
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:src="@drawable/mg_hide_float" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="5dp"
|
android:text="隐藏"
|
android:textColor="#929292"
|
android:textSize="12sp" />
|
</LinearLayout>
|
|
<View
|
android:layout_width="1dp"
|
android:layout_height="match_parent"
|
android:background="#f5f5f5" />
|
|
<LinearLayout
|
android:id="@+id/change_account_ll"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:gravity="center"
|
android:orientation="vertical"
|
android:paddingBottom="10dp"
|
android:paddingTop="10dp" >
|
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:src="@drawable/mg_user_change_account" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="5dp"
|
android:text="切换账号"
|
android:textColor="#929292"
|
android:textSize="12sp" />
|
</LinearLayout>
|
</LinearLayout>
|
</LinearLayout>
|
|
<ImageView
|
android:id="@+id/mg_close_iv"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignParentRight="true"
|
android:src="@drawable/mg_user_close" />
|
</RelativeLayout>
|
|
</LinearLayout>
|