|
@@ -7,26 +7,394 @@
|
|
|
|
|
|
<data>
|
|
|
|
|
|
+ <variable
|
|
|
+ name="click"
|
|
|
+ type="com.hongyegroup.cpt_business.ui.activity.BusinessAddStaffActivity.ClickProxy" />
|
|
|
+
|
|
|
<import type="android.text.TextUtils" />
|
|
|
|
|
|
</data>
|
|
|
|
|
|
-
|
|
|
- <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:background="@color/white"
|
|
|
- tools:context=".ui.activity.BusinessMainActivity">
|
|
|
+ android:background="@color/page_bg"
|
|
|
+ android:focusable="true"
|
|
|
+ android:focusableInTouchMode="true"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <com.guadou.lib_baselib.view.titlebar.EasyTitleBar
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="Add Staff"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent" />
|
|
|
+ app:Easy_title="Edit" />
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginLeft="@dimen/d_5dp"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:layout_marginRight="@dimen/d_5dp"
|
|
|
+ android:layout_marginBottom="@dimen/d_5dp"
|
|
|
+ android:background="@drawable/shadow_round_gray_bg">
|
|
|
+
|
|
|
+ <ScrollView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginLeft="@dimen/d_15dp"
|
|
|
+ android:layout_marginRight="@dimen/d_15dp"
|
|
|
+ android:layout_marginBottom="@dimen/d_3dp"
|
|
|
+ android:overScrollMode="never"
|
|
|
+ android:scrollbars="none">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/d_30dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginBottom="@dimen/d_1dp"
|
|
|
+ android:src="@drawable/pensonal_me_home_tag_icon" />
|
|
|
+
|
|
|
+ <com.guadou.lib_baselib.font_text_view.TextViewSBold
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
+ android:text="Full Name"
|
|
|
+ android:textColor="#FF3E4A5D"
|
|
|
+ android:textSize="@dimen/d_17sp" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="@dimen/d_20dp"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:layout_marginBottom="@dimen/d_3dp"
|
|
|
+ android:src="@drawable/bitian_icon" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="20dp"
|
|
|
+ android:layout_marginTop="@dimen/d_16dp"
|
|
|
+ android:layout_marginRight="@dimen/d_20dp"
|
|
|
+ android:background="@null"
|
|
|
+ android:hint="Please fill in your Full Name"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:text="WendyCheng"
|
|
|
+ android:textColor="#FFBFBFBF"
|
|
|
+ android:textColorHint="#FFBFBFBF"
|
|
|
+ android:textSize="@dimen/d_17sp"
|
|
|
+ binding:typefaceRegular="@{true}" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0.8dp"
|
|
|
+ android:layout_marginLeft="@dimen/d_17dp"
|
|
|
+ android:layout_marginTop="@dimen/d_14dp"
|
|
|
+ android:layout_marginRight="@dimen/d_17dp"
|
|
|
+ android:background="#FFDFE4EE" />
|
|
|
+
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/d_20dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginBottom="@dimen/d_1dp"
|
|
|
+ android:src="@drawable/pensonal_me_home_tag_icon" />
|
|
|
+
|
|
|
+ <com.guadou.lib_baselib.font_text_view.TextViewSBold
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
+ android:text="NRIC"
|
|
|
+ android:textColor="#FF3E4A5D"
|
|
|
+ android:textSize="@dimen/d_17sp" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="@dimen/d_20dp"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:layout_marginBottom="@dimen/d_3dp"
|
|
|
+ android:src="@drawable/bitian_icon" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="20dp"
|
|
|
+ android:layout_marginTop="@dimen/d_16dp"
|
|
|
+ android:layout_marginRight="@dimen/d_20dp"
|
|
|
+ android:background="@null"
|
|
|
+ android:hint="Please fill in your Mobile"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:text="S5987654F"
|
|
|
+ android:textColor="#FFBFBFBF"
|
|
|
+ android:textColorHint="#FFBFBFBF"
|
|
|
+ android:textSize="@dimen/d_17sp"
|
|
|
+ binding:typefaceRegular="@{true}" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0.8dp"
|
|
|
+ android:layout_marginLeft="@dimen/d_17dp"
|
|
|
+ android:layout_marginTop="@dimen/d_14dp"
|
|
|
+ android:layout_marginRight="@dimen/d_17dp"
|
|
|
+ android:background="#FFDFE4EE" />
|
|
|
+
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/d_20dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginBottom="@dimen/d_1dp"
|
|
|
+ android:src="@drawable/pensonal_me_home_tag_icon" />
|
|
|
+
|
|
|
+ <com.guadou.lib_baselib.font_text_view.TextViewSBold
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
+ android:text="Vaccine"
|
|
|
+ android:textColor="#FF3E4A5D"
|
|
|
+ android:textSize="@dimen/d_17sp" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="@dimen/d_20dp"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:layout_marginBottom="@dimen/d_3dp"
|
|
|
+ android:src="@drawable/bitian_icon" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <RadioGroup
|
|
|
+ android:id="@+id/rg_group"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="@dimen/d_22dp"
|
|
|
+ android:layout_marginTop="@dimen/d_15dp"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <RadioButton
|
|
|
+ android:id="@+id/rb_yes"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@color/transparent"
|
|
|
+ android:button="@drawable/selector_radio_blue_pading10"
|
|
|
+ android:checked="true"
|
|
|
+ android:text="Yes"
|
|
|
+ android:textColor="#FFBFBFBF"
|
|
|
+ android:textSize="@dimen/d_17sp"
|
|
|
+ binding:typefaceRegular="@{true}" />
|
|
|
+
|
|
|
+ <RadioButton
|
|
|
+ android:id="@+id/rb_no"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="@dimen/d_40dp"
|
|
|
+ android:background="@color/transparent"
|
|
|
+ android:button="@drawable/selector_radio_blue_pading10"
|
|
|
+ android:text="No"
|
|
|
+ android:textColor="#FFBFBFBF"
|
|
|
+ android:textSize="@dimen/d_17sp"
|
|
|
+ binding:typefaceRegular="@{true}" />
|
|
|
+
|
|
|
+ </RadioGroup>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0.8dp"
|
|
|
+ android:layout_marginLeft="@dimen/d_17dp"
|
|
|
+ android:layout_marginTop="@dimen/d_14dp"
|
|
|
+ android:layout_marginRight="@dimen/d_17dp"
|
|
|
+ android:background="#FFDFE4EE" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/d_20dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginBottom="@dimen/d_1dp"
|
|
|
+ android:src="@drawable/pensonal_me_home_tag_icon" />
|
|
|
+
|
|
|
+ <com.guadou.lib_baselib.font_text_view.TextViewSBold
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
+ android:text="Mobile"
|
|
|
+ android:textColor="#FF3E4A5D"
|
|
|
+ android:textSize="@dimen/d_17sp" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="@dimen/d_20dp"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:layout_marginBottom="@dimen/d_3dp"
|
|
|
+ android:src="@drawable/bitian_icon" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="20dp"
|
|
|
+ android:layout_marginTop="@dimen/d_16dp"
|
|
|
+ android:layout_marginRight="@dimen/d_20dp"
|
|
|
+ android:background="@null"
|
|
|
+ android:hint="Please fill in your Mobile"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:text="+65 89765678"
|
|
|
+ android:textColor="#FFBFBFBF"
|
|
|
+ android:textColorHint="#FFBFBFBF"
|
|
|
+ android:textSize="@dimen/d_17sp"
|
|
|
+ binding:typefaceRegular="@{true}" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0.8dp"
|
|
|
+ android:layout_marginLeft="@dimen/d_17dp"
|
|
|
+ android:layout_marginTop="@dimen/d_14dp"
|
|
|
+ android:layout_marginRight="@dimen/d_17dp"
|
|
|
+ android:background="#FFDFE4EE" />
|
|
|
+
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/d_20dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginBottom="@dimen/d_1dp"
|
|
|
+ android:src="@drawable/pensonal_me_home_tag_icon" />
|
|
|
+
|
|
|
+ <com.guadou.lib_baselib.font_text_view.TextViewSBold
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
+ android:text="Email"
|
|
|
+ android:textColor="#FF3E4A5D"
|
|
|
+ android:textSize="@dimen/d_17sp" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="20dp"
|
|
|
+ android:layout_marginTop="@dimen/d_16dp"
|
|
|
+ android:layout_marginRight="@dimen/d_20dp"
|
|
|
+ android:background="@null"
|
|
|
+ android:hint="Please fill in your Email"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:textColor="#FFBFBFBF"
|
|
|
+ android:textColorHint="#FFBFBFBF"
|
|
|
+ android:textSize="@dimen/d_17sp"
|
|
|
+ binding:typefaceRegular="@{true}" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0.8dp"
|
|
|
+ android:layout_marginLeft="@dimen/d_17dp"
|
|
|
+ android:layout_marginTop="@dimen/d_14dp"
|
|
|
+ android:layout_marginRight="@dimen/d_17dp"
|
|
|
+ android:background="#FFDFE4EE" />
|
|
|
+
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/d_20dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginBottom="@dimen/d_1dp"
|
|
|
+ android:src="@drawable/pensonal_me_home_tag_icon" />
|
|
|
+
|
|
|
+ <com.guadou.lib_baselib.font_text_view.TextViewSBold
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
+ android:text="Home Address"
|
|
|
+ android:textColor="#FF3E4A5D"
|
|
|
+ android:textSize="@dimen/d_17sp" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="20dp"
|
|
|
+ android:layout_marginTop="@dimen/d_16dp"
|
|
|
+ android:layout_marginRight="@dimen/d_20dp"
|
|
|
+ android:background="@null"
|
|
|
+ android:hint="Please fill in your Home Address"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:textColor="#FFBFBFBF"
|
|
|
+ android:textColorHint="#FFBFBFBF"
|
|
|
+ android:textSize="@dimen/d_17sp"
|
|
|
+ binding:typefaceRegular="@{true}" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0.8dp"
|
|
|
+ android:layout_marginLeft="@dimen/d_17dp"
|
|
|
+ android:layout_marginTop="@dimen/d_14dp"
|
|
|
+ android:layout_marginRight="@dimen/d_17dp"
|
|
|
+ android:background="#FFDFE4EE" />
|
|
|
+
|
|
|
+ <com.guadou.lib_baselib.font_text_view.TextViewSBold
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center_horizontal"
|
|
|
+ android:layout_marginTop="@dimen/d_20dp"
|
|
|
+ android:background="@drawable/pensonal_me_home_btn_bg"
|
|
|
+ android:gravity="center"
|
|
|
+ android:paddingBottom="5dp"
|
|
|
+ android:text="Save"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="@dimen/d_18sp"
|
|
|
+ binding:clicks="@{click.doSave}" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="10dp" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </ScrollView>
|
|
|
+
|
|
|
+ </FrameLayout>
|
|
|
|
|
|
- </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
</layout>
|