|
@@ -0,0 +1,554 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
+ xmlns:binding="http://schemas.android.com/apk/res-auto"
|
|
|
+ xmlns:tools="http://schemas.android.com/tools">
|
|
|
+
|
|
|
+ <data>
|
|
|
+
|
|
|
+ <variable
|
|
|
+ name="click"
|
|
|
+ type="com.hongyegroup.cpt_main.ui.EditUserInfoActivity.ClickProxy" />
|
|
|
+
|
|
|
+ </data>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:focusable="true"
|
|
|
+ android:focusableInTouchMode="true"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/ll_title_box"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@drawable/shape_gradient_proifle_title_top"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <com.guadou.lib_baselib.view.titlebar.EasyTitleBar
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ app:Easy_lineState="gone"
|
|
|
+ app:Easy_title="编辑信息"
|
|
|
+ app:Easy_backRes="@mipmap/back_white_icon"
|
|
|
+ app:Easy_titleBarBackground="@color/transparent"
|
|
|
+ app:Easy_titleColor="@color/white" />
|
|
|
+
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
+ <ScrollView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:overScrollMode="never"
|
|
|
+ android:scrollbars="none">
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@color/white">
|
|
|
+
|
|
|
+ <ScrollView
|
|
|
+ android:id="@+id/root_scrollview"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:overScrollMode="never">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="#FAFDFF"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <!-- 头部 -->
|
|
|
+ <FrameLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <!-- 弧形的渐变 -->
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/d_90dp"
|
|
|
+ android:background="@drawable/shape_gradient_proifle_title_bottom" />
|
|
|
+
|
|
|
+ <!-- 顶部的信息框展示 -->
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="140dp"
|
|
|
+ android:layout_marginLeft="@dimen/d_5dp"
|
|
|
+ android:layout_marginRight="@dimen/d_5dp"
|
|
|
+ android:background="@drawable/profile_white_shadow_comm_bg"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <com.guadou.lib_baselib.view.CircleImageView
|
|
|
+ android:id="@+id/image_view_profile_photo"
|
|
|
+ android:layout_width="@dimen/d_70dp"
|
|
|
+ android:layout_height="@dimen/d_70dp"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:layout_marginLeft="@dimen/d_20dp"
|
|
|
+ android:scaleType="centerCrop"
|
|
|
+ android:src="@drawable/im_default_head"
|
|
|
+ app:civ_border_color="@color/white"
|
|
|
+ app:civ_border_overlay="true"
|
|
|
+ app:civ_border_width="@dimen/d_1dp" />
|
|
|
+
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginLeft="@dimen/d_20dp"
|
|
|
+ android:layout_marginRight="@dimen/d_15dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_name_box"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ binding:clicks="@{click.editUserName}"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <com.guadou.lib_baselib.font_text_view.TextViewBold
|
|
|
+ android:id="@+id/text_view_full_name"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:textColor="@color/profile_black_28394a"
|
|
|
+ android:textSize="21sp"
|
|
|
+ tools:text="Lisa Yang" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="@dimen/d_15dp"
|
|
|
+ android:paddingTop="@dimen/d_6dp"
|
|
|
+ android:src="@drawable/iv_profile_edit" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <com.guadou.lib_baselib.font_text_view.TextViewRegular
|
|
|
+ android:id="@+id/text_view_phone_num"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center_horizontal"
|
|
|
+ android:layout_marginTop="@dimen/d_10dp"
|
|
|
+ android:drawableRight="@drawable/back_more_black"
|
|
|
+ android:textColor="#8098B2"
|
|
|
+ android:textSize="14.8dp"
|
|
|
+ binding:clicks="@{click.editUserPhone}"
|
|
|
+ tools:text="+86 13477451876" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="@dimen/d_5dp"
|
|
|
+ android:layout_marginRight="@dimen/d_5dp"
|
|
|
+ android:background="@drawable/profile_white_shadow_comm_bg"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingTop="@dimen/d_25dp"
|
|
|
+ android:paddingBottom="@dimen/d_38dp">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:layout_marginLeft="@dimen/d_25dp"
|
|
|
+ android:src="@drawable/profile_edit_psd_old" />
|
|
|
+
|
|
|
+ <com.guadou.lib_baselib.font_text_view.TextViewBold
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="@dimen/d_14dp"
|
|
|
+ android:text="密码重置"
|
|
|
+ android:textColor="@color/profile_black_28394a"
|
|
|
+ android:textSize="17dp" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <!--Old Password-->
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/rl_edit_profile_old_password"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="@dimen/d_25dp"
|
|
|
+ android:layout_marginTop="@dimen/d_20dp"
|
|
|
+ android:layout_marginRight="@dimen/d_24dp"
|
|
|
+ android:background="@drawable/shape_profile_gray_5conner_with_border">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_edit_profile_old_password"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:src="@drawable/profile_edit_psd_old"
|
|
|
+ android:visibility="gone" />
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/edit_text_old_password"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="@dimen/d_15dp"
|
|
|
+ android:layout_marginRight="@dimen/d_15dp"
|
|
|
+ android:layout_toLeftOf="@id/cb_old_psd"
|
|
|
+ android:layout_toRightOf="@id/iv_edit_profile_old_password"
|
|
|
+ android:background="@null"
|
|
|
+ android:hint="旧密码"
|
|
|
+ android:inputType="textPassword"
|
|
|
+ android:paddingTop="@dimen/d_15dp"
|
|
|
+ android:paddingBottom="@dimen/d_15dp"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textColorHint="@color/profile_black_8098b2"
|
|
|
+ android:textSize="@dimen/d_14sp" />
|
|
|
+
|
|
|
+ <CheckBox
|
|
|
+ android:id="@+id/cb_old_psd"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_centerInParent="true"
|
|
|
+ android:layout_marginRight="@dimen/d_15dp"
|
|
|
+ android:button="@drawable/selector_check_password_hide"
|
|
|
+ android:visibility="visible" />
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <!--New Password-->
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/rl_edit_profile_new_password"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="@dimen/d_25dp"
|
|
|
+ android:layout_marginTop="@dimen/d_10dp"
|
|
|
+ android:layout_marginRight="@dimen/d_24dp"
|
|
|
+ android:background="@drawable/shape_profile_gray_5conner_with_border">
|
|
|
+
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/edit_text_new_password"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="@dimen/d_15dp"
|
|
|
+ android:layout_marginRight="@dimen/d_15dp"
|
|
|
+ android:layout_toLeftOf="@id/cb_new_psd"
|
|
|
+ android:background="@null"
|
|
|
+ android:hint="新的密码(最少8位数,包含大小写和数字)"
|
|
|
+ android:inputType="textPassword"
|
|
|
+ android:paddingTop="@dimen/d_15dp"
|
|
|
+ android:paddingBottom="@dimen/d_15dp"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textColorHint="@color/profile_black_8098b2"
|
|
|
+ android:textSize="@dimen/d_14sp" />
|
|
|
+
|
|
|
+ <CheckBox
|
|
|
+ android:id="@+id/cb_new_psd"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_centerInParent="true"
|
|
|
+ android:layout_marginRight="@dimen/d_15dp"
|
|
|
+ android:button="@drawable/selector_check_password_hide"
|
|
|
+ android:visibility="visible" />
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <!--Confirm Password-->
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/rl_edit_profile_confirm_password"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="@dimen/d_25dp"
|
|
|
+ android:layout_marginTop="@dimen/d_10dp"
|
|
|
+ android:layout_marginRight="@dimen/d_24dp"
|
|
|
+ android:background="@drawable/shape_profile_gray_5conner_with_border">
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/edit_text_confirm_password"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="@dimen/d_15dp"
|
|
|
+ android:layout_marginRight="@dimen/d_15dp"
|
|
|
+ android:layout_toLeftOf="@id/cb_conform_psd"
|
|
|
+ android:background="@null"
|
|
|
+ android:hint="确认新密码(最少8位数,包含大小写和数字)"
|
|
|
+ android:inputType="textPassword"
|
|
|
+ android:paddingTop="@dimen/d_15dp"
|
|
|
+ android:paddingBottom="@dimen/d_15dp"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textColorHint="@color/profile_black_8098b2"
|
|
|
+ android:textSize="@dimen/d_14sp" />
|
|
|
+
|
|
|
+ <CheckBox
|
|
|
+ android:id="@+id/cb_conform_psd"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_centerInParent="true"
|
|
|
+ android:layout_marginRight="@dimen/d_15dp"
|
|
|
+ android:button="@drawable/selector_check_password_hide"
|
|
|
+ android:visibility="visible" />
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <!--Save-->
|
|
|
+ <com.guadou.lib_baselib.font_text_view.TextViewMedium
|
|
|
+ android:id="@+id/tv_profile_me_edit_save"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/d_40dp"
|
|
|
+ android:layout_marginLeft="@dimen/d_25dp"
|
|
|
+ android:layout_marginTop="@dimen/d_30dp"
|
|
|
+ android:layout_marginRight="@dimen/d_25dp"
|
|
|
+ android:layout_marginBottom="@dimen/d_30dp"
|
|
|
+ android:background="@color/app_blue"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="保存"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="@dimen/d_16sp" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <!-- 技能的选择 -->
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/rl_edit_profile_work_type"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="@dimen/d_5dp"
|
|
|
+ android:layout_marginRight="@dimen/d_5dp"
|
|
|
+ android:background="@drawable/profile_white_shadow_comm_bg"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingTop="@dimen/d_25dp"
|
|
|
+ android:paddingBottom="@dimen/d_38dp"
|
|
|
+ android:visibility="gone">
|
|
|
+
|
|
|
+ <com.guadou.lib_baselib.font_text_view.TextViewBold
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="@dimen/d_25dp"
|
|
|
+ android:layout_marginRight="@dimen/d_23dp"
|
|
|
+ android:drawableRight="@drawable/back_more_black"
|
|
|
+ android:text="Skill"
|
|
|
+ android:textColor="@color/profile_black_28394a"
|
|
|
+ android:textSize="17dp" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_edit_profile_work_type1"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/d_15dp"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingLeft="@dimen/d_25dp"
|
|
|
+ android:visibility="visible">
|
|
|
+
|
|
|
+ <com.guadou.lib_baselib.font_text_view.TextViewRegular
|
|
|
+ android:id="@+id/tv_edit_profile_work_type1"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:drawableLeft="@drawable/profile_detail_skill_icon1"
|
|
|
+ android:drawablePadding="@dimen/d_12dp"
|
|
|
+ android:paddingBottom="@dimen/d_10dp"
|
|
|
+ android:text="Clean Service"
|
|
|
+ android:textColor="@color/profile_black_8098b2"
|
|
|
+ android:textSize="@dimen/d_14sp"
|
|
|
+ android:visibility="gone" />
|
|
|
+
|
|
|
+ <com.guadou.lib_baselib.font_text_view.TextViewRegular
|
|
|
+ android:id="@+id/tv_edit_profile_work_type2"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/d_10dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:drawableLeft="@drawable/profile_detail_skill_icon2"
|
|
|
+ android:drawablePadding="@dimen/d_12dp"
|
|
|
+ android:paddingBottom="@dimen/d_10dp"
|
|
|
+ android:text="Business"
|
|
|
+ android:textColor="@color/profile_black_8098b2"
|
|
|
+ android:textSize="@dimen/d_14sp"
|
|
|
+ android:visibility="gone" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_edit_profile_work_type2"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/d_10dp"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingLeft="@dimen/d_25dp"
|
|
|
+ android:visibility="visible">
|
|
|
+
|
|
|
+ <com.guadou.lib_baselib.font_text_view.TextViewRegular
|
|
|
+ android:id="@+id/tv_edit_profile_work_type3"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:drawableLeft="@drawable/profile_detail_skill_icon3"
|
|
|
+ android:drawablePadding="@dimen/d_12dp"
|
|
|
+ android:paddingBottom="@dimen/d_10dp"
|
|
|
+ android:text="Finance"
|
|
|
+ android:textColor="@color/profile_black_8098b2"
|
|
|
+ android:textSize="@dimen/d_14sp"
|
|
|
+ android:visibility="gone" />
|
|
|
+
|
|
|
+ <com.guadou.lib_baselib.font_text_view.TextViewRegular
|
|
|
+ android:id="@+id/tv_edit_profile_work_type4"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/d_10dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:drawableLeft="@drawable/profile_detail_skill_icon4"
|
|
|
+ android:drawablePadding="@dimen/d_12dp"
|
|
|
+ android:paddingBottom="@dimen/d_10dp"
|
|
|
+ android:text="Food & Banquet"
|
|
|
+ android:textColor="@color/profile_black_8098b2"
|
|
|
+ android:textSize="@dimen/d_14sp"
|
|
|
+ android:visibility="gone" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_edit_profile_work_type3"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/d_10dp"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingLeft="@dimen/d_25dp"
|
|
|
+ android:visibility="visible"
|
|
|
+ android:weightSum="2">
|
|
|
+
|
|
|
+ <com.guadou.lib_baselib.font_text_view.TextViewRegular
|
|
|
+ android:id="@+id/tv_edit_profile_work_type5"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:drawableLeft="@drawable/profile_detail_skill_icon5"
|
|
|
+ android:drawablePadding="@dimen/d_12dp"
|
|
|
+ android:paddingBottom="@dimen/d_15dp"
|
|
|
+ android:text="Recruitment"
|
|
|
+ android:textColor="@color/profile_black_8098b2"
|
|
|
+ android:textSize="@dimen/d_14sp"
|
|
|
+ android:visibility="gone" />
|
|
|
+
|
|
|
+ <com.guadou.lib_baselib.font_text_view.TextViewRegular
|
|
|
+ android:id="@+id/tv_edit_profile_work_type6"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:drawableLeft="@drawable/profile_detail_skill_icon6"
|
|
|
+ android:drawablePadding="@dimen/d_12dp"
|
|
|
+ android:text="Recruitment"
|
|
|
+ android:textColor="@color/profile_black_8098b2"
|
|
|
+ android:textSize="@dimen/d_14sp"
|
|
|
+ android:visibility="gone" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <!-- 证书 -->
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="@dimen/d_5dp"
|
|
|
+ android:layout_marginRight="@dimen/d_5dp"
|
|
|
+ android:layout_marginBottom="@dimen/d_30dp"
|
|
|
+ android:background="@drawable/profile_white_shadow_comm_bg"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingTop="@dimen/d_25dp"
|
|
|
+ android:paddingBottom="@dimen/d_38dp"
|
|
|
+ android:visibility="gone">
|
|
|
+
|
|
|
+ <com.guadou.lib_baselib.font_text_view.TextViewBold
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="@dimen/d_25dp"
|
|
|
+ android:text="食品健康证书"
|
|
|
+ android:textColor="@color/profile_black_28394a"
|
|
|
+ android:textSize="17dp" />
|
|
|
+
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/fl_certificate_box"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="@dimen/d_25dp"
|
|
|
+ android:layout_marginTop="@dimen/d_17dp">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_certificate_img"
|
|
|
+ android:layout_width="98dp"
|
|
|
+ android:layout_height="98dp"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:background="#F0F2F9" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_upload_empty"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:src="@drawable/profile_edit_cert_empty_img"
|
|
|
+ android:visibility="visible" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_certificate_img_delete"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="right|top"
|
|
|
+ android:layout_marginLeft="95dp"
|
|
|
+ android:paddingLeft="@dimen/d_5dp"
|
|
|
+ android:paddingTop="-10dp"
|
|
|
+ android:paddingRight="@dimen/d_5dp"
|
|
|
+ android:paddingBottom="@dimen/d_5dp"
|
|
|
+ android:src="@drawable/profile_edit_cert_delete"
|
|
|
+ android:visibility="visible" />
|
|
|
+
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </ScrollView>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:id="@+id/view_progress_bg"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@color/progress_background"
|
|
|
+ android:clickable="true"
|
|
|
+ android:visibility="gone" />
|
|
|
+
|
|
|
+ <ProgressBar
|
|
|
+ android:id="@+id/progress_bar_edit_basic"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:indeterminate="true"
|
|
|
+ android:indeterminateTint="@color/colorAccent"
|
|
|
+ android:indeterminateTintMode="src_atop"
|
|
|
+ android:visibility="gone" />
|
|
|
+
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
+ </ScrollView>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+</layout>
|