|
|
@@ -1,275 +1,286 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
- android:id="@+id/fl_root"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent">
|
|
|
-
|
|
|
- <ScrollView android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:fitsSystemWindows="true"
|
|
|
- android:scrollbars="none"
|
|
|
- android:background="@color/bg">
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
+ android:id="@+id/fl_root"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent">
|
|
|
+
|
|
|
+ <ScrollView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@color/bg"
|
|
|
+ android:fitsSystemWindows="true"
|
|
|
+ android:scrollbars="none">
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:orientation="vertical">
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginBottom="@dimen/content_padding_15"
|
|
|
- android:layout_marginTop="@dimen/content_padding"
|
|
|
- android:background="@color/white"
|
|
|
- android:orientation="vertical">
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/content_padding"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:id="@+id/personal_info_avatar_container"
|
|
|
- style="@style/style_item_container">
|
|
|
+ android:id="@+id/personal_info_avatar_container"
|
|
|
+ style="@style/style_item_container">
|
|
|
|
|
|
<TextView
|
|
|
- style="@style/style_item_label"
|
|
|
- android:text="@string/header"/>
|
|
|
+ style="@style/style_item_label_person_info"
|
|
|
+ android:text="@string/header" />
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
- android:id="@+id/personal_info_avatar"
|
|
|
- android:layout_width="33dp"
|
|
|
- android:layout_height="33dp"
|
|
|
- android:src="@mipmap/icon"/>
|
|
|
+ android:id="@+id/personal_info_avatar"
|
|
|
+ android:layout_width="33dp"
|
|
|
+ android:layout_height="33dp"
|
|
|
+ android:src="@mipmap/icon" />
|
|
|
|
|
|
- <TextView style="@style/style_item_end_next"/>
|
|
|
+ <TextView style="@style/style_item_content_person_info" />
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
- <View style="@style/style_item_line_3_0"/>
|
|
|
+ <View style="@style/style_item_line_3_0" />
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:id="@+id/personal_info_loginname_container"
|
|
|
- style="@style/style_item_container">
|
|
|
+ android:id="@+id/personal_info_loginname_container"
|
|
|
+ style="@style/style_item_container">
|
|
|
|
|
|
<TextView
|
|
|
- style="@style/style_item_label"
|
|
|
- android:text="@string/loginname"/>
|
|
|
+ style="@style/style_item_label_person_info"
|
|
|
+ android:text="@string/loginname" />
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/personal_info_loginname"
|
|
|
- style="@style/style_item_end_next"/>
|
|
|
+ android:id="@+id/personal_info_loginname"
|
|
|
+ style="@style/style_item_content_person_info"
|
|
|
+ tools:text="占位" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
- <View style="@style/style_item_line_3_0"/>
|
|
|
+ <View style="@style/style_item_line_3_0" />
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:id="@+id/personal_info_name_container"
|
|
|
- style="@style/style_item_container">
|
|
|
+ android:id="@+id/personal_info_name_container"
|
|
|
+ style="@style/style_item_container">
|
|
|
|
|
|
<TextView
|
|
|
- style="@style/style_item_label"
|
|
|
- android:text="@string/niker"/>
|
|
|
+ style="@style/style_item_label_person_info"
|
|
|
+ android:text="@string/niker" />
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/personal_info_name"
|
|
|
- style="@style/style_item_end_next"/>
|
|
|
+ android:id="@+id/personal_info_name"
|
|
|
+ style="@style/style_item_content_person_info"
|
|
|
+ tools:text="占位" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
- <View style="@style/style_item_line_3_0"/>
|
|
|
+ <View style="@style/style_item_line_3_0" />
|
|
|
|
|
|
<LinearLayout style="@style/style_item_container">
|
|
|
|
|
|
<TextView
|
|
|
- style="@style/style_item_label"
|
|
|
- android:text="@string/sheep_id"/>
|
|
|
+ style="@style/style_item_label_person_info"
|
|
|
+ android:text="@string/sheep_id" />
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/personal_info_code"
|
|
|
- style="@style/style_item_end_next"
|
|
|
- android:textIsSelectable="true"/>
|
|
|
+ android:id="@+id/personal_info_code"
|
|
|
+ style="@style/style_item_content_person_info"
|
|
|
+ android:textIsSelectable="true"
|
|
|
+ tools:text="占位" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
- <View style="@style/style_item_line_3_0"/>
|
|
|
+ <View style="@style/style_item_line_3_0" />
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:id="@+id/llayout_sex"
|
|
|
- style="@style/style_item_container">
|
|
|
+ android:id="@+id/llayout_sex"
|
|
|
+ style="@style/style_item_container"
|
|
|
+ android:visibility="gone">
|
|
|
|
|
|
<TextView
|
|
|
- style="@style/style_item_label"
|
|
|
- android:text="@string/sex"/>
|
|
|
+ style="@style/style_item_label_person_info"
|
|
|
+ android:text="@string/sex" />
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/tv_sex"
|
|
|
- style="@style/style_item_end_next"
|
|
|
- android:layout_width="150dp"/>
|
|
|
+ android:id="@+id/tv_sex"
|
|
|
+ style="@style/style_item_content_person_info"
|
|
|
+ android:layout_width="150dp"
|
|
|
+ tools:text="性别" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
- <View style="@style/style_item_line_3_0"/>
|
|
|
+ <View
|
|
|
+ style="@style/style_item_line_3_0"
|
|
|
+ android:visibility="gone" />
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:id="@+id/llayout_birthday"
|
|
|
- style="@style/style_item_container">
|
|
|
+ android:id="@+id/llayout_birthday"
|
|
|
+ style="@style/style_item_container"
|
|
|
+ android:visibility="gone">
|
|
|
|
|
|
<TextView
|
|
|
- style="@style/style_item_label"
|
|
|
- android:text="@string/birth_day"/>
|
|
|
+ style="@style/style_item_label_person_info"
|
|
|
+ android:text="@string/birth_day" />
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/tv_birthday"
|
|
|
- style="@style/style_item_end_next"/>
|
|
|
+ android:id="@+id/tv_birthday"
|
|
|
+ style="@style/style_item_content_person_info"
|
|
|
+ tools:text="出生年月日" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
- <View style="@style/style_item_line_3_0"/>
|
|
|
+ <View
|
|
|
+ style="@style/style_item_line_3_0"
|
|
|
+ android:visibility="gone" />
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:id="@+id/personal_info_qr_container"
|
|
|
- style="@style/style_item_container">
|
|
|
+ android:id="@+id/personal_info_qr_container"
|
|
|
+ style="@style/style_item_container"
|
|
|
+ android:visibility="gone">
|
|
|
|
|
|
<TextView
|
|
|
- style="@style/style_item_label"
|
|
|
- android:text="@string/my_qr"/>
|
|
|
+ style="@style/style_item_label_person_info"
|
|
|
+ android:text="@string/my_qr" />
|
|
|
|
|
|
<RelativeLayout
|
|
|
- android:layout_width="30dp"
|
|
|
- android:layout_height="30dp">
|
|
|
+ android:layout_width="30dp"
|
|
|
+ android:layout_height="30dp">
|
|
|
|
|
|
<ImageView
|
|
|
- android:id="@+id/personal_info_qr"
|
|
|
- android:layout_width="25dp"
|
|
|
- android:layout_height="25dp"
|
|
|
- android:layout_centerInParent="true"
|
|
|
- android:background="@null"
|
|
|
- android:src="@mipmap/icon"/>
|
|
|
+ android:id="@+id/personal_info_qr"
|
|
|
+ android:layout_width="25dp"
|
|
|
+ android:layout_height="25dp"
|
|
|
+ android:layout_centerInParent="true"
|
|
|
+ android:background="@null"
|
|
|
+ android:src="@mipmap/icon" />
|
|
|
|
|
|
<ImageView
|
|
|
- android:layout_width="5dp"
|
|
|
- android:layout_height="5dp"
|
|
|
- android:layout_centerInParent="true"
|
|
|
- android:background="@null"
|
|
|
- android:src="@mipmap/icon"/>
|
|
|
+ android:layout_width="5dp"
|
|
|
+ android:layout_height="5dp"
|
|
|
+ android:layout_centerInParent="true"
|
|
|
+ android:background="@null"
|
|
|
+ android:src="@mipmap/icon" />
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
- <TextView style="@style/style_item_end_next"/>
|
|
|
+ <TextView style="@style/style_item_content_person_info" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
|
|
|
|
- <View
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="20dp"
|
|
|
- android:background="#f5f5f5"/>
|
|
|
-
|
|
|
<LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginBottom="@dimen/content_padding_15"
|
|
|
- android:layout_marginTop="@dimen/content_padding"
|
|
|
- android:background="@color/white"
|
|
|
- android:orientation="vertical">
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginBottom="@dimen/content_padding_15"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:id="@+id/personal_info_phone_container"
|
|
|
- style="@style/style_item_container">
|
|
|
+ android:id="@+id/personal_info_phone_container"
|
|
|
+ style="@style/style_item_container">
|
|
|
|
|
|
<TextView
|
|
|
- style="@style/style_item_label"
|
|
|
- android:text="@string/phone"/>
|
|
|
+ style="@style/style_item_label_person_info"
|
|
|
+ android:text="@string/phone" />
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/personal_info_phone"
|
|
|
- style="@style/style_item_end_next"/>
|
|
|
+ android:id="@+id/personal_info_phone"
|
|
|
+ style="@style/style_item_content_person_info" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
- <View style="@style/style_item_line_3_0"/>
|
|
|
+ <View style="@style/style_item_line_3_0" />
|
|
|
+
|
|
|
<LinearLayout
|
|
|
- android:id="@+id/personal_info_addr_container"
|
|
|
- style="@style/style_item_container">
|
|
|
+ android:id="@+id/personal_info_addr_container"
|
|
|
+ style="@style/style_item_container"
|
|
|
+ android:visibility="gone">
|
|
|
|
|
|
<TextView
|
|
|
- style="@style/style_item_label"
|
|
|
- android:text="@string/my_addr_info"/>
|
|
|
+ style="@style/style_item_label_person_info"
|
|
|
+ android:text="@string/my_addr_info" />
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/personal_info_addr"
|
|
|
- style="@style/style_item_end_next"/>
|
|
|
+ android:id="@+id/personal_info_addr"
|
|
|
+ style="@style/style_item_content_person_info" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
- <View style="@style/style_item_line_3_0"/>
|
|
|
+ <View
|
|
|
+ style="@style/style_item_line_3_0"
|
|
|
+ android:visibility="gone" />
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:id="@+id/personal_info_bind_tx_ali_container"
|
|
|
- style="@style/style_item_container">
|
|
|
+ android:id="@+id/personal_info_bind_tx_ali_container"
|
|
|
+ style="@style/style_item_container">
|
|
|
|
|
|
<TextView
|
|
|
- style="@style/style_item_label"
|
|
|
- android:text="@string/bind_tx_ali"/>
|
|
|
+ style="@style/style_item_label_person_info"
|
|
|
+ android:text="@string/bind_tx_ali" />
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/personal_info_bind_tx_ali"
|
|
|
- style="@style/style_item_end_next"/>
|
|
|
+ android:id="@+id/personal_info_bind_tx_ali"
|
|
|
+ style="@style/style_item_content_person_info" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
- <View style="@style/style_item_line_3_0"/>
|
|
|
+ <View style="@style/style_item_line_3_0" />
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:id="@+id/personal_info_bind_qq_container"
|
|
|
- style="@style/style_item_container">
|
|
|
+ android:id="@+id/personal_info_bind_qq_container"
|
|
|
+ style="@style/style_item_container">
|
|
|
|
|
|
<TextView
|
|
|
- style="@style/style_item_label"
|
|
|
- android:text="@string/bind_qq"/>
|
|
|
+ style="@style/style_item_label_person_info"
|
|
|
+ android:text="@string/bind_qq" />
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/personal_info_bind_qq"
|
|
|
- style="@style/style_item_end_next"/>
|
|
|
+ android:id="@+id/personal_info_bind_qq"
|
|
|
+ style="@style/style_item_content_person_info" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
- <View style="@style/style_item_line_3_0"/>
|
|
|
+ <View style="@style/style_item_line_3_0" />
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:id="@+id/personal_info_bind_wx_container"
|
|
|
- style="@style/style_item_container">
|
|
|
+ android:id="@+id/personal_info_bind_wx_container"
|
|
|
+ style="@style/style_item_container">
|
|
|
|
|
|
<TextView
|
|
|
- style="@style/style_item_label"
|
|
|
- android:text="@string/bind_wx"/>
|
|
|
+ style="@style/style_item_label_person_info"
|
|
|
+ android:text="@string/bind_wx" />
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/personal_info_bind_wx"
|
|
|
- style="@style/style_item_end_next"/>
|
|
|
+ android:id="@+id/personal_info_bind_wx"
|
|
|
+ style="@style/style_item_content_person_info" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
- <View style="@style/style_item_line_3_0"/>
|
|
|
+ <View style="@style/style_item_line_3_0" />
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:id="@+id/personal_info_authentication_container"
|
|
|
- style="@style/style_item_container">
|
|
|
+ android:id="@+id/personal_info_authentication_container"
|
|
|
+ style="@style/style_item_container">
|
|
|
|
|
|
<TextView
|
|
|
- style="@style/style_item_label"
|
|
|
- android:text="@string/auther"/>
|
|
|
+ style="@style/style_item_label_person_info"
|
|
|
+ android:text="@string/auther" />
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/personal_info_authentication"
|
|
|
- style="@style/style_item_end_next"
|
|
|
- android:text="未认证"/>
|
|
|
+ android:id="@+id/personal_info_authentication"
|
|
|
+ style="@style/style_item_content_person_info"
|
|
|
+ android:text="未认证" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
|